mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Android EGL) don't needlessly set up GL state after gfx_ctx_init
This commit is contained in:
parent
8ac8b16d34
commit
ee1194d19a
@ -24,12 +24,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
enum RenderThreadMessage {
|
||||
MSG_NONE = 0,
|
||||
MSG_WINDOW_SET,
|
||||
MSG_RENDER_LOOP_EXIT
|
||||
};
|
||||
|
||||
static EGLContext g_egl_ctx;
|
||||
static EGLSurface g_egl_surf;
|
||||
static EGLDisplay g_egl_dpy;
|
||||
@ -162,11 +156,6 @@ bool gfx_ctx_init(void)
|
||||
g_android.height = height;
|
||||
g_android.state.angle = 0;
|
||||
|
||||
// Initialize GL state.
|
||||
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
|
||||
glEnable(GL_CULL_FACE);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user