aboutsummaryrefslogtreecommitdiff
path: root/guilib/TextureGL.h
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2009-10-03 10:21:23 +0000
committerjmarshallnz <jmarshallnz@svn>2009-10-03 10:21:23 +0000
commit2c635ef73b1b69698617fd941191fb6a013ab5ba (patch)
treee23d3d74a78857d83789e1b354821500968707e0 /guilib/TextureGL.h
parent6ae760859c4b57444be47d943b65882b1e0c6980 (diff)
added: Support for ARGB, DXT1 and DXT3 in textures in .xbt files.
changed: Cleanup of texture interfaces. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23355 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/TextureGL.h')
-rw-r--r--guilib/TextureGL.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/TextureGL.h b/guilib/TextureGL.h
index 8631beae2a..4197601563 100644
--- a/guilib/TextureGL.h
+++ b/guilib/TextureGL.h
@@ -39,9 +39,9 @@
class CGLTexture : public CBaseTexture
{
public:
- CGLTexture(unsigned int width = 0, unsigned int height = 0, unsigned int BPP = 0, unsigned int format = XB_FMT_B8G8R8A8);
+ CGLTexture(unsigned int width = 0, unsigned int height = 0, unsigned int format = XB_FMT_A8R8G8B8);
virtual ~CGLTexture();
-
+
void CreateTextureObject();
virtual void DestroyTextureObject();
void LoadToGPU();