mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
Use this code for GLES2 and GLES3
This commit is contained in:
parent
62b79a28b4
commit
34ad1555f1
@ -642,7 +642,7 @@ static void gl_init_textures(gl_t *gl, const video_info_t *video)
|
|||||||
texture_fmt = gl->texture_fmt;
|
texture_fmt = gl->texture_fmt;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_OPENGLES2
|
#if defined(HAVE_OPENGLES) && !defined(HAVE_PSGL)
|
||||||
/* GLES is picky about which format we use here.
|
/* GLES is picky about which format we use here.
|
||||||
* Without extensions, we can *only* render to 16-bit FBOs. */
|
* Without extensions, we can *only* render to 16-bit FBOs. */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user