mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 06:50:32 +00:00
(GL) Use HAVE_OPENGL_MODERN ifdef in some places where it's needed
This commit is contained in:
parent
079585d428
commit
b6d2b0f3bf
4
gfx/gl.c
4
gfx/gl.c
@ -502,7 +502,7 @@ void gl_init_fbo(gl_t *gl, unsigned width, unsigned height)
|
||||
|
||||
////////////
|
||||
|
||||
#ifdef HAVE_OPENGLES
|
||||
#if defined(HAVE_OPENGLES) || defined(HAVE_OPENGL_MODERN)
|
||||
void gl_set_coords(const struct gl_coords *coords, unsigned unit)
|
||||
{
|
||||
(void)coords;
|
||||
@ -1080,7 +1080,7 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei
|
||||
|
||||
static void gl_disable_client_arrays(void)
|
||||
{
|
||||
#ifndef HAVE_OPENGLES
|
||||
#if !defined(HAVE_OPENGLES) && !defined(HAVE_OPENGL_MODERN)
|
||||
glDisableClientState(GL_VERTEX_ARRAY);
|
||||
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||
glDisableClientState(GL_COLOR_ARRAY);
|
||||
|
Loading…
Reference in New Issue
Block a user