mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #4321 from loganmc10/glupen
Use RGBA for internal format
This commit is contained in:
commit
2174ba5e27
@ -68,7 +68,7 @@ static void gl_size_format(GLint* internalFormat)
|
||||
#ifdef HAVE_OPENGLES2
|
||||
*internalFormat = GL_RGBA8_OES;
|
||||
#else
|
||||
*internalFormat = GL_BGRA_EXT;
|
||||
*internalFormat = GL_RGBA8;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
@ -121,12 +121,7 @@
|
||||
#ifndef GL_BGRA8_EXT
|
||||
#define GL_BGRA8_EXT 0x93A1
|
||||
#endif
|
||||
#ifdef IOS
|
||||
/* Stupid Apple */
|
||||
#define RARCH_GL_INTERNAL_FORMAT32 GL_RGBA
|
||||
#else
|
||||
#define RARCH_GL_INTERNAL_FORMAT32 GL_BGRA_EXT
|
||||
#endif
|
||||
#define RARCH_GL_INTERNAL_FORMAT16 GL_RGB
|
||||
#define RARCH_GL_TEXTURE_TYPE32 GL_BGRA_EXT
|
||||
#define RARCH_GL_TEXTURE_TYPE16 GL_RGB
|
||||
|
Loading…
x
Reference in New Issue
Block a user