(gl.c) Cleanup
This commit is contained in:
parent
7c33b76818
commit
d3977690f2
11
gfx/gl.c
11
gfx/gl.c
|
@ -1808,12 +1808,13 @@ static bool resolve_extensions(gl_t *gl)
|
||||||
(g_extern.system.hw_render_callback.context_type
|
(g_extern.system.hw_render_callback.context_type
|
||||||
== RETRO_HW_CONTEXT_OPENGL_CORE);
|
== RETRO_HW_CONTEXT_OPENGL_CORE);
|
||||||
if (gl->core_context)
|
if (gl->core_context)
|
||||||
RARCH_LOG("[GL]: Using Core GL context.\n");
|
|
||||||
if (gl->core_context &&
|
|
||||||
!init_vao(gl))
|
|
||||||
{
|
{
|
||||||
RARCH_ERR("[GL]: Failed to initialize VAOs.\n");
|
RARCH_LOG("[GL]: Using Core GL context.\n");
|
||||||
return false;
|
if (!init_vao(gl))
|
||||||
|
{
|
||||||
|
RARCH_ERR("[GL]: Failed to initialize VAOs.\n");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GL_RGB565 internal format support.
|
/* GL_RGB565 internal format support.
|
||||||
|
|
Loading…
Reference in New Issue