fix ogl blooper

This commit is contained in:
Bradley Bell 2002-09-07 07:14:22 +00:00
parent 6ef9f6ca2c
commit 55270af804

View file

@ -1,4 +1,4 @@
/* $Id: 2dsline.c,v 1.7 2002-09-05 07:52:36 btb Exp $ */
/* $Id: 2dsline.c,v 1.8 2002-09-07 07:14:22 btb Exp $ */
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
@ -221,6 +221,9 @@ void gr_uscanline( int x1, int x2, int y )
switch(TYPE)
{
case BM_LINEAR:
#ifdef OGL
case BM_OGL:
#endif
gr_linear_stosd( DATA + ROWSIZE*y + x1, (unsigned char)COLOR, x2-x1+1);
break;
#ifdef __MSDOS__
@ -244,6 +247,9 @@ void gr_uscanline( int x1, int x2, int y )
switch(TYPE)
{
case BM_LINEAR:
#ifdef OGL
case BM_OGL:
#endif
gr_linear_darken( DATA + ROWSIZE*y + x1, Gr_scanline_darkening_level, x2-x1+1, gr_fade_table);
break;
#ifdef __MSDOS__