remove unused variables

This commit is contained in:
Twinaphex 2015-08-30 18:45:02 +02:00
parent 8537c5b5b5
commit d5f72ca9c1
2 changed files with 0 additions and 6 deletions

View File

@ -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);

View File

@ -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;