From d33cad33815264b13adeead52e9e925072de51f0 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Wed, 20 May 2015 18:57:57 +0200 Subject: [PATCH] (GL) Take out unused global variable --- gfx/drivers/gl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index f76186eff8..691fb9ee82 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -781,7 +781,6 @@ static void gl_set_viewport(void *data, unsigned viewport_width, float device_aspect = (float)viewport_width / viewport_height; struct gl_ortho ortho = {0, 1, 0, 1, -1, 1}; settings_t *settings = config_get_ptr(); - global_t *global = global_get_ptr(); gl_t *gl = (gl_t*)data; video_driver_get_size(&width, &height);