From 1c48834cb5d598278a66e411c43381c58941aa80 Mon Sep 17 00:00:00 2001 From: Zachary Lund Date: Sat, 25 Jan 2014 22:22:35 -0600 Subject: [PATCH] Fixed signedness issue on GLX --- libobs-opengl/gl-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libobs-opengl/gl-x11.c b/libobs-opengl/gl-x11.c index 9ead963f8..12925e542 100644 --- a/libobs-opengl/gl-x11.c +++ b/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