From d5f72ca9c1b1871561c5b476637ca5fb42703e0e Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 30 Aug 2015 18:45:02 +0200 Subject: [PATCH] remove unused variables --- gfx/drivers/gl.c | 5 ----- gfx/drivers_shader/shader_gl_cg.c | 1 - 2 files changed, 6 deletions(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 41938da36a..fd36f0bdbd 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -494,11 +494,6 @@ static void gl_create_fbo_texture(gl_t *gl, unsigned i, GLuint texture) #endif { #ifndef HAVE_OPENGLES - settings_t *settings = config_get_ptr(); - GLuint base_filt = settings->video.smooth ? GL_LINEAR : GL_NEAREST; - GLuint base_mip_filt = settings->video.smooth ? - GL_LINEAR_MIPMAP_LINEAR : GL_NEAREST_MIPMAP_NEAREST; - if (srgb_fbo && gl->has_srgb_fbo) { RARCH_LOG("[GL]: FBO pass #%d is sRGB.\n", i); diff --git a/gfx/drivers_shader/shader_gl_cg.c b/gfx/drivers_shader/shader_gl_cg.c index 71d398ff6c..52fe36b90e 100644 --- a/gfx/drivers_shader/shader_gl_cg.c +++ b/gfx/drivers_shader/shader_gl_cg.c @@ -261,7 +261,6 @@ static void gl_cg_set_params(void *data, unsigned width, unsigned height, unsigned fbo_info_cnt) { unsigned i; - CGparameter param; const struct gfx_tex_info *info = (const struct gfx_tex_info*)_info; const struct gfx_tex_info *prev_info = (const struct gfx_tex_info*)_prev_info; const struct gfx_tex_info *feedback_info = (const struct gfx_tex_info*)_feedback_info;