mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
Should fix build on GLES1.
This commit is contained in:
parent
250fb340c7
commit
dcdb405267
4
gfx/gl.c
4
gfx/gl.c
@ -217,7 +217,7 @@ static inline void gl_shader_deinit(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(HAVE_OPENGLES2) || defined(HAVE_OPENGL_MODERN)
|
||||
#if defined(HAVE_OPENGLES) || defined(HAVE_OPENGL_MODERN)
|
||||
static void gl_set_coords(const struct gl_coords *coords)
|
||||
{
|
||||
(void)coords;
|
||||
@ -1174,7 +1174,7 @@ static bool resolve_extensions(gl_t *gl)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENGLES) && !defined(HAVE_OPENGLES1)
|
||||
#if defined(HAVE_OPENGLES)
|
||||
// Doesn't support GL_CLAMP_TO_BORDER. NOTE: This will be a serious problem for some shaders.
|
||||
//
|
||||
// NOTE2: We still need to query if GL_CLAMP_TO_BORDER is supported even if compiling with
|
||||
|
Loading…
x
Reference in New Issue
Block a user