mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Don't #ifdef for HAVE_OPENGLES in cellos.
This commit is contained in:
parent
7b8d412a16
commit
afb4474a64
6
gfx/gl.c
6
gfx/gl.c
@ -865,14 +865,8 @@ static void gl_init_textures(gl_t *gl)
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, gl->texture[i]);
|
||||
|
||||
#ifdef HAVE_OPENGLES
|
||||
// Doesn't support GL_CLAMP_TO_BORDER. NOTE: This will be a serious issue with some shaders.
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
||||
#else
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER);
|
||||
#endif
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, gl->tex_filter);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, gl->tex_filter);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user