(gl.c) Cleanup

This commit is contained in:
twinaphex 2014-12-03 21:21:55 +01:00
parent 7c33b76818
commit d3977690f2
1 changed files with 6 additions and 5 deletions

View File

@ -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.