From ec367d333d93717d378591a54dd46da445323486 Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 7 Mar 2011 00:03:10 +0100 Subject: [PATCH] Add error message when FBO fails. --- gfx/gl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index 19f259d8b5..1c1d342846 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -281,7 +281,10 @@ static void gl_init_fbo(gl_t *gl, unsigned width, unsigned height) return; if (!load_fbo_proc()) + { + SSNES_ERR("Failed to locate FBO functions. Won't be able to use render-to-texture.\n"); return; + } float scale_x = g_settings.video.fbo_scale_x; float scale_y = g_settings.video.fbo_scale_y;