mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 00:30:38 +00:00
glquake.h: Comment out <GL/glu.h> -- may be used in the future, but we
don't use libGLU right now. gl_draw.c: brightness/contrast are created in r_view.c, I'm a little surprised this didn't cause a crash. menu.c: Use bound() for sliders.
This commit is contained in:
parent
a38f854210
commit
bf2ec8da6d
3 changed files with 2 additions and 11 deletions
|
@ -470,10 +470,7 @@ void M_DrawSlider (int x, int y, float range)
|
|||
{
|
||||
int i;
|
||||
|
||||
if (range < 0)
|
||||
range = 0;
|
||||
if (range > 1)
|
||||
range = 1;
|
||||
range = bound (0, range, 1);
|
||||
M_DrawCharacter (x-8, y, 128);
|
||||
for (i=0 ; i<SLIDER_RANGE ; i++)
|
||||
M_DrawCharacter (x + i*8, y, 129);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue