mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 10:18:17 +00:00
Merge pull request #11681 from crystalct/master
Fix multipass shaders on PS3 - fix #11673
This commit is contained in:
commit
71ed4db45a
@ -857,11 +857,16 @@ static void gl2_create_fbo_texture(gl_t *gl,
|
||||
else
|
||||
#endif
|
||||
{
|
||||
#if defined(HAVE_OPENGLES2) || defined(HAVE_PSGL)
|
||||
#if defined(HAVE_OPENGLES2)
|
||||
glTexImage2D(GL_TEXTURE_2D,
|
||||
0, GL_RGBA,
|
||||
gl->fbo_rect[i].width, gl->fbo_rect[i].height, 0,
|
||||
GL_RGBA, GL_UNSIGNED_BYTE, NULL);
|
||||
#elif defined(HAVE_PSGL)
|
||||
glTexImage2D(GL_TEXTURE_2D,
|
||||
0, GL_ARGB_SCE,
|
||||
gl->fbo_rect[i].width, gl->fbo_rect[i].height, 0,
|
||||
GL_ARGB_SCE, GL_UNSIGNED_BYTE, NULL);
|
||||
#else
|
||||
/* Avoid potential performance
|
||||
* reductions on particular platforms. */
|
||||
|
Loading…
Reference in New Issue
Block a user