Permalink
Browse files

[smp] fixed previous commit. duh.

  • Loading branch information...
theuni
theuni committed Jul 18, 2011
1 parent 2f8a5f7 commit a9daed64df447233a0897ea9cdedc7d98210fc03
Showing with 3 additions and 4 deletions.
  1. +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

Please sign in to comment.