Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
[smp] fixed previous commit. duh.
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Jul 18, 2011
1 parent 2f8a5f7 commit a9daed6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions xbmc/guilib/TextureGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/************************************************************************/
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit a9daed6

Please sign in to comment.