From 34ad1555f1b6d04fcdd9fbcc3047f1eba8f795d5 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Fri, 30 Dec 2016 13:56:54 -0700 Subject: [PATCH] Use this code for GLES2 and GLES3 --- gfx/drivers/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 70508af209..c5af50d90e 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -642,7 +642,7 @@ static void gl_init_textures(gl_t *gl, const video_info_t *video) texture_fmt = gl->texture_fmt; #endif -#ifdef HAVE_OPENGLES2 +#if defined(HAVE_OPENGLES) && !defined(HAVE_PSGL) /* GLES is picky about which format we use here. * Without extensions, we can *only* render to 16-bit FBOs. */