From c6e962a43e9b567f75c1843f2537bd6b3c5e2883 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 20 Nov 2015 14:30:32 +0100 Subject: [PATCH] (bbqnx) Use g_egl_api --- gfx/drivers_context/bbqnx_ctx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/drivers_context/bbqnx_ctx.c b/gfx/drivers_context/bbqnx_ctx.c index 109df60d66..68be0b3d30 100644 --- a/gfx/drivers_context/bbqnx_ctx.c +++ b/gfx/drivers_context/bbqnx_ctx.c @@ -41,8 +41,6 @@ screen_context_t screen_ctx; screen_window_t screen_win; static screen_display_t screen_disp; -static enum gfx_ctx_api g_api; - static void gfx_ctx_qnx_destroy(void *data) { egl_destroy(data); @@ -299,7 +297,7 @@ static bool gfx_ctx_qnx_bind_api(void *data, (void)major; (void)minor; - g_api = api; + g_egl_api = api; return api == GFX_CTX_OPENGL_ES_API; }