From 499235cd40af48226e62d13a137ebdcb4b128145 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Apr 2019 19:55:50 +0200 Subject: [PATCH] (CXX_BUILD) Another buildfix --- gfx/drivers/gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index e1484a7e0e..c17bdfc332 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -351,9 +351,9 @@ static void gl2_load_texture_image(GLenum target, { #if !defined(HAVE_PSGL) && !defined(ORBIS) #ifdef HAVE_OPENGLES2 - unsigned cap = GL_CAPS_TEX_STORAGE_EXT; + enum gl_capability_enum cap = GL_CAPS_TEX_STORAGE_EXT; #else - unsigned cap = GL_CAPS_TEX_STORAGE; + enum gl_capability_enum cap = GL_CAPS_TEX_STORAGE; #endif if (gl_check_capability(cap) && internalFormat != GL_BGRA_EXT)