mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
[ORBIS] Several EGL and GL fixes
This commit is contained in:
parent
167537ac10
commit
d34b94a661
@ -54,7 +54,7 @@ void gl_load_texture_image(GLenum target,
|
||||
GLenum type,
|
||||
const GLvoid * data)
|
||||
{
|
||||
#ifndef HAVE_PSGL
|
||||
#if !defined(HAVE_PSGL) && !defined(ORBIS)
|
||||
#ifdef HAVE_OPENGLES2
|
||||
if (gl_check_capability(GL_CAPS_TEX_STORAGE_EXT) && internalFormat != GL_BGRA_EXT)
|
||||
{
|
||||
|
@ -193,8 +193,8 @@ static bool orbis_ctx_bind_api(void *data,
|
||||
(void)data;
|
||||
ctx_orbis_api = api;
|
||||
|
||||
if (api == GFX_CTX_OPENGL_API)
|
||||
if (eglBindAPI(EGL_OPENGL_API) != EGL_FALSE)
|
||||
if (api == GFX_CTX_OPENGL_ES_API)
|
||||
if (eglBindAPI(EGL_OPENGL_ES_API) != EGL_FALSE)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user