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:
Jeff Teunissen 2000-09-25 04:12:58 +00:00
parent a38f854210
commit bf2ec8da6d
3 changed files with 2 additions and 11 deletions

View file

@ -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);