add Supports4BitPalettes

This commit is contained in:
Glenn Maynard
2003-10-09 03:06:10 +00:00
parent 6376a8f066
commit d902715269
+7
View File
@@ -140,6 +140,13 @@ public:
virtual void SetBlendMode( BlendMode mode ) = 0;
virtual bool SupportsTextureFormat( PixelFormat pixfmt ) = 0;
/* This really indicates whether 4-bit palettes will actually use less memory
* than 8-bit ones. Note that 4-bit palettes are uploaded as 8-bit paletted
* surfaces with color index values in the range 0..15; not as 4-bit "packed
* indexes". */
virtual bool Supports4BitPalettes() { return false; }
/* return 0 if failed or internal texture resource handle
* (unsigned in OpenGL, texture pointer in D3D) */
virtual unsigned CreateTexture(