From e688770e6423d916e0a41c67238baeb294301363 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 22 Feb 2016 13:26:26 +0100 Subject: [PATCH] (SDL GL Ctx) Rename g_api to sdl_api --- gfx/drivers_context/sdl_gl_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers_context/sdl_gl_ctx.c b/gfx/drivers_context/sdl_gl_ctx.c index c0f2b8960b..e5984d8af5 100644 --- a/gfx/drivers_context/sdl_gl_ctx.c +++ b/gfx/drivers_context/sdl_gl_ctx.c @@ -20,7 +20,7 @@ #include "../../runloop.h" #include "../common/gl_common.h" -static enum gfx_ctx_api g_api = GFX_CTX_OPENGL_API; +static enum gfx_ctx_api sdl_api = GFX_CTX_OPENGL_API; static unsigned g_major = 2; static unsigned g_minor = 1; @@ -132,7 +132,7 @@ static bool sdl_ctx_bind_api(void *data, enum gfx_ctx_api api, unsigned major, SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, major); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, minor); #endif - g_api = api; + sdl_api = api; g_major = major; g_minor = minor;