Browse Source

Fixed signedness issue on GLX

Zachary Lund 11 years ago
parent
commit
1c48834cb5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libobs-opengl/gl-x11.c

+ 2 - 2
libobs-opengl/gl-x11.c

@@ -22,7 +22,7 @@
 
 #include "GL/glx_obs.h"
 	
-static const GLenum fb_attribs[] = {
+static const int fb_attribs[] = {
 	/* Hardcoded for now... */
 	GLX_STENCIL_SIZE, 8,
 	GLX_DEPTH_SIZE, 24, 
@@ -31,7 +31,7 @@ static const GLenum fb_attribs[] = {
 	None
 };
 
-static const GLenum ctx_attribs[] = {
+static const int ctx_attribs[] = {
 #ifdef _DEBUG
 	GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_DEBUG_BIT_ARB,
 #endif