mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix warnings around load_shaders
This commit is contained in:
parent
40d9b7f34b
commit
9b927e7600
2 changed files with 7 additions and 2 deletions
|
|
@ -620,7 +620,7 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
|
||||||
/// SRB2CB itself ported this from PrBoom+
|
/// SRB2CB itself ported this from PrBoom+
|
||||||
#define NEWCLIP
|
#define NEWCLIP
|
||||||
|
|
||||||
/// Hardware renderer: OpenGL
|
/// OpenGL shaders
|
||||||
#define GL_SHADERS
|
#define GL_SHADERS
|
||||||
|
|
||||||
/// Handle touching sector specials in P_PlayerAfterThink instead of P_PlayerThink.
|
/// Handle touching sector specials in P_PlayerAfterThink instead of P_PlayerThink.
|
||||||
|
|
|
||||||
|
|
@ -1871,8 +1871,13 @@ static void load_shaders(FSurfaceInfo *Surface, GLRGBAFloat *poly, GLRGBAFloat *
|
||||||
pglUseProgram(0);
|
pglUseProgram(0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
pglUseProgram(0);
|
pglUseProgram(0);
|
||||||
|
#else
|
||||||
|
(void)Surface;
|
||||||
|
(void)poly;
|
||||||
|
(void)tint;
|
||||||
|
(void)fade;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------+
|
// -----------------+
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue