diff options
| author | oy <Tom_Adams@web.de> | 2012-10-07 11:22:49 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2013-02-24 18:08:10 +0100 |
| commit | df5ab998c276e34a4870085d6ddafd812a9b1912 (patch) | |
| tree | 9f19cea427d6eed0dd5fb9204c780bb19b745cbe /src/engine/client/backend_sdl.h | |
| parent | 71af97a5e30739577bde35db24ec9f160b0bea65 (diff) | |
| download | zcatch-df5ab998c276e34a4870085d6ddafd812a9b1912.tar.gz zcatch-df5ab998c276e34a4870085d6ddafd812a9b1912.zip | |
readded texture resampling
Diffstat (limited to 'src/engine/client/backend_sdl.h')
| -rw-r--r-- | src/engine/client/backend_sdl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/client/backend_sdl.h b/src/engine/client/backend_sdl.h index e1fc60b0..e90f9455 100644 --- a/src/engine/client/backend_sdl.h +++ b/src/engine/client/backend_sdl.h @@ -189,6 +189,8 @@ public: private: static int TexFormatToOpenGLFormat(int TexFormat); + static unsigned char Sample(int w, int h, const unsigned char *pData, int u, int v, int Offset, int ScaleW, int ScaleH, int Bpp); + static void *Rescale(int Width, int Height, int NewWidth, int NewHeight, int Format, const unsigned char *pData); void SetState(const CCommandBuffer::SState &State); |