|
|
| version 1.1, 2003/10/16 17:58:14 | version 1.4, 2004/02/18 02:03:37 |
|---|---|
| Line 4 | Line 4 |
| #include "sdraw.h" | #include "sdraw.h" |
| #include "palettes.h" | #include "palettes.h" |
| #if !defined(SIZE_QVGA) || defined(SIZE_VGATEST) | |
| #if defined(SUPPORT_8BPP) | #if defined(SUPPORT_8BPP) |
| #define SDSYM(sym) sdraw8##sym | #define SDSYM(sym) sdraw8##sym |
| Line 94 const SDRAWFN *sdraw_getproctbl(const SC | Line 95 const SDRAWFN *sdraw_getproctbl(const SC |
| int proc; | int proc; |
| proc = ((surf->bpp >> 3) - 1) & 3; | proc = ((surf->bpp >> 3) - 1) & 3; |
| #if defined(SUPPORT_NORMALDISP) | |
| if (surf->extend) { | |
| proc += 4; | |
| } | |
| #endif | |
| return(tbl[proc]); | return(tbl[proc]); |
| } | } |
| #endif | |