(CXX_BUILD) Another buildfix

This commit is contained in:
twinaphex 2019-04-20 19:55:50 +02:00
parent e4873f8a46
commit 499235cd40

View File

@ -351,9 +351,9 @@ static void gl2_load_texture_image(GLenum target,
{ {
#if !defined(HAVE_PSGL) && !defined(ORBIS) #if !defined(HAVE_PSGL) && !defined(ORBIS)
#ifdef HAVE_OPENGLES2 #ifdef HAVE_OPENGLES2
unsigned cap = GL_CAPS_TEX_STORAGE_EXT; enum gl_capability_enum cap = GL_CAPS_TEX_STORAGE_EXT;
#else #else
unsigned cap = GL_CAPS_TEX_STORAGE; enum gl_capability_enum cap = GL_CAPS_TEX_STORAGE;
#endif #endif
if (gl_check_capability(cap) && internalFormat != GL_BGRA_EXT) if (gl_check_capability(cap) && internalFormat != GL_BGRA_EXT)