mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
(CXX_BUILD) Another buildfix
This commit is contained in:
parent
e4873f8a46
commit
499235cd40
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user