mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
Getting rid of an unuser variable
This commit is contained in:
parent
3355d82f31
commit
515197fbd7
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue