From 6493b79324920791ce53e2692870a113be2dc305 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 13 Nov 2017 09:11:09 +0100 Subject: [PATCH] Some buildfixes for CXX_BUILD --- gfx/drivers/gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 2652d4b2e5..de178c4914 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -1784,7 +1784,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo if (!gl_check_capability(GL_CAPS_VAO)) { RARCH_ERR("[GL]: Failed to initialize VAOs.\n"); - return false; + goto error; } } @@ -1792,7 +1792,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo &gl->renderchain_data)) { RARCH_ERR("[GL]: Renderchain could not be initialized.\n"); - return false; + goto error; } if (gl->renderchain_driver->restore_default_state)