Skip to content

Commit

Permalink
Minor tweaks for updated OpenGL compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cthielen committed Jun 18, 2012
1 parent be37a00 commit e2a9330
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Source/Graphics/video.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
#ifndef __H_VIDEO__
#define __H_VIDEO__

// Fix for certain OpenGL implementations
#ifndef GL_BGRA
#define GL_BGRA GL_RGBA
#endif

#include "Graphics/image.h"
#include "includes.h"
#include "Utilities/coordinate.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#else
#include <GL/gl.h>
#include <GL/glu.h>
#include "GL/glext.h"
//#include "GL/glext.h"
#endif

// Local includes
Expand Down

0 comments on commit e2a9330

Please sign in to comment.