Permalink
Browse files
[smp] fixed previous commit. duh.
- Loading branch information...
Showing
with
3 additions
and
4 deletions.
-
+3
−4
xbmc/guilib/TextureGL.cpp
|
@@ -30,7 +30,9 @@ |
|
|
#if defined(HAS_DIRECTFB)
|
|
|
#include <directfb.h>
|
|
|
#endif
|
|
|
-
|
|
|
+#ifndef GL_BGRA_EXT
|
|
|
+#define GL_BGRA_EXT 0x80E1
|
|
|
+#endif
|
|
|
using namespace std;
|
|
|
|
|
|
/************************************************************************/
|
|
@@ -148,9 +150,6 @@ void CGLTexture::LoadToGPU() |
|
|
else
|
|
|
#endif
|
|
|
|
|
|
-#ifndef GL_BGRA_EXT
|
|
|
-#define GL_BGRA_EXT 0x80E1
|
|
|
-#endif
|
|
|
// GL_BGRA_EXT is missing from some headers even when supported. If
|
|
|
// the extension exists, assume we can use it.
|
|
|
|
|
|
0 comments on commit
a9daed6