From 4c4bbf3cf07a36e11b5e649dcb36bff242703e91 Mon Sep 17 00:00:00 2001 From: OV2 Date: Sat, 30 Mar 2013 14:48:33 +0100 Subject: [PATCH] Fix build without HAVE_FBO --- driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver.c b/driver.c index 34edc095aa..6ac3d5214d 100644 --- a/driver.c +++ b/driver.c @@ -282,9 +282,11 @@ uintptr_t driver_get_current_framebuffer(void) retro_proc_address_t driver_get_proc_address(const char *sym) { +#ifdef HAVE_FBO if (driver.video_poke && driver.video_poke->get_proc_address) return driver.video_poke->get_proc_address(driver.video_data, sym); else +#endif return NULL; }