diff --git a/gfx/gl.c b/gfx/gl.c index e9975a7589..d409a8ce6e 100644 --- a/gfx/gl.c +++ b/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) {