Merge pull request #4340 from loganmc10/patch-9

Use this code for GLES2 and GLES3
This commit is contained in:
Twinaphex 2016-12-30 22:08:52 +01:00 committed by GitHub
commit ee6cbd0bbf

View File

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