about summary refs log tree commit diff
path: root/src/engine/client/backend_sdl.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2012-10-07 11:22:49 +0200
committeroy <Tom_Adams@web.de>2013-02-24 18:08:10 +0100
commitdf5ab998c276e34a4870085d6ddafd812a9b1912 (patch)
tree9f19cea427d6eed0dd5fb9204c780bb19b745cbe /src/engine/client/backend_sdl.h
parent71af97a5e30739577bde35db24ec9f160b0bea65 (diff)
downloadzcatch-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.h2
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);