Getting rid of an unuser variable

This commit is contained in:
Richard Allen 2012-10-13 17:18:00 +00:00
parent 3355d82f31
commit 515197fbd7

View file

@ -358,7 +358,8 @@ FBO_Init
void FBO_Init(void)
{
int i;
int width, height, hdrFormat, multisample;
// int width, height, hdrFormat, multisample;
int hdrFormat, multisample;
ri.Printf(PRINT_ALL, "------- FBO_Init -------\n");
@ -372,7 +373,7 @@ void FBO_Init(void)
// make sure the render thread is stopped
R_SyncRenderThread();
if(glRefConfig.textureNonPowerOfTwo)
/* if(glRefConfig.textureNonPowerOfTwo)
{
width = glConfig.vidWidth;
height = glConfig.vidHeight;
@ -381,7 +382,7 @@ void FBO_Init(void)
{
width = NextPowerOfTwo(glConfig.vidWidth);
height = NextPowerOfTwo(glConfig.vidHeight);
}
} */
hdrFormat = GL_RGBA8;
if (r_hdr->integer && glRefConfig.framebufferObject && glRefConfig.textureFloat)
@ -801,4 +802,4 @@ void FBO_FastBlit(FBO_t *src, vec4i_t srcBox, FBO_t *dst, vec4i_t dstBox, int bu
qglBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
glState.currentFBO = NULL;
}
}