(PS3) Forcibly disable float FBO textures for now - was creating
all sorts of crashes
This commit is contained in:
parent
ff3ce71b98
commit
4f54fd28a0
9
gfx/gl.c
9
gfx/gl.c
|
@ -455,6 +455,13 @@ static void gl_compute_fbo_geometry(void *data, unsigned width, unsigned height,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef __CELLOS_LV2__
|
||||
// TODO: Add float FBO support to PSGL
|
||||
#define FP_FBO_ENABLE_DEFAULT (false)
|
||||
#else
|
||||
#define FP_FBO_ENABLE_DEFAULT (gl->fbo_scale[i].valid && gl->fbo_scale[i].fp_fbo)
|
||||
#endif
|
||||
|
||||
static void gl_create_fbo_textures(void *data)
|
||||
{
|
||||
gl_t *gl = (gl_t*)data;
|
||||
|
@ -479,7 +486,7 @@ static void gl_create_fbo_textures(void *data)
|
|||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, wrap_enum);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, wrap_enum);
|
||||
|
||||
bool fp_fbo = gl->fbo_scale[i].valid && gl->fbo_scale[i].fp_fbo;
|
||||
bool fp_fbo = FP_FBO_ENABLE_DEFAULT;
|
||||
|
||||
if (fp_fbo)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue