some gfx3d functions didn't match prototypes

This commit is contained in:
gecko_reverse 2008-09-21 01:44:40 +00:00
parent 21bf563bbb
commit e48864f2c1
1 changed files with 30 additions and 30 deletions

View File

@ -241,7 +241,7 @@ void gfx3d_glClearDepth(unsigned long v)
gfx3d.clearDepth = depth24b / ((float)(1<<24));
}
void gfx3d_glMatrixMode(u32 v)
void gfx3d_glMatrixMode(unsigned long v)
{
mode = (v&3);
}
@ -892,7 +892,7 @@ void gfx3d_glLightDirection_cache(int index)
20-29 Directional Vector's Z component (1bit sign + 9bit fractional part)
30-31 Light Number (0..3)
*/
void gfx3d_glLightDirection (u32 v)
void gfx3d_glLightDirection (unsigned long v)
{
int index = v>>30;
@ -1433,7 +1433,7 @@ void gfx3d_Control_cache()
}
}
void gfx3d_Control(u32 v)
void gfx3d_Control(unsigned long v)
{
control = v;
gfx3d_Control_cache();