mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
Fixing compiler warnings
This commit is contained in:
parent
515197fbd7
commit
0515e466a0
1 changed files with 5 additions and 4 deletions
|
@ -98,7 +98,7 @@ void RB_ToneMap(FBO_t *hdrFbo, int autoExposure)
|
||||||
|
|
||||||
void RB_BokehBlur(float blur)
|
void RB_BokehBlur(float blur)
|
||||||
{
|
{
|
||||||
vec4i_t srcBox, dstBox;
|
// vec4i_t srcBox, dstBox;
|
||||||
vec4_t color;
|
vec4_t color;
|
||||||
|
|
||||||
blur *= 10.0f;
|
blur *= 10.0f;
|
||||||
|
@ -292,7 +292,7 @@ void RB_GodRays(void)
|
||||||
const float cutoff = 0.25f;
|
const float cutoff = 0.25f;
|
||||||
qboolean colorize = qtrue;
|
qboolean colorize = qtrue;
|
||||||
|
|
||||||
float w, h, w2, h2;
|
// float w, h, w2, h2;
|
||||||
matrix_t mvp;
|
matrix_t mvp;
|
||||||
vec4_t pos, hpos;
|
vec4_t pos, hpos;
|
||||||
|
|
||||||
|
@ -323,10 +323,11 @@ void RB_GodRays(void)
|
||||||
pos[1] = 0.5f - hpos[1] * hpos[3];
|
pos[1] = 0.5f - hpos[1] * hpos[3];
|
||||||
|
|
||||||
// viewport dimensions
|
// viewport dimensions
|
||||||
w = glConfig.vidWidth;
|
// JBravo: Apparently not used
|
||||||
|
/* w = glConfig.vidWidth;
|
||||||
h = glConfig.vidHeight;
|
h = glConfig.vidHeight;
|
||||||
w2 = glConfig.vidWidth / 2;
|
w2 = glConfig.vidWidth / 2;
|
||||||
h2 = glConfig.vidHeight / 2;
|
h2 = glConfig.vidHeight / 2; */
|
||||||
|
|
||||||
// initialize quarter buffers
|
// initialize quarter buffers
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue