some gfx3d functions didn't match prototypes
This commit is contained in:
parent
21bf563bbb
commit
e48864f2c1
|
@ -241,7 +241,7 @@ void gfx3d_glClearDepth(unsigned long v)
|
||||||
gfx3d.clearDepth = depth24b / ((float)(1<<24));
|
gfx3d.clearDepth = depth24b / ((float)(1<<24));
|
||||||
}
|
}
|
||||||
|
|
||||||
void gfx3d_glMatrixMode(u32 v)
|
void gfx3d_glMatrixMode(unsigned long v)
|
||||||
{
|
{
|
||||||
mode = (v&3);
|
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)
|
20-29 Directional Vector's Z component (1bit sign + 9bit fractional part)
|
||||||
30-31 Light Number (0..3)
|
30-31 Light Number (0..3)
|
||||||
*/
|
*/
|
||||||
void gfx3d_glLightDirection (u32 v)
|
void gfx3d_glLightDirection (unsigned long v)
|
||||||
{
|
{
|
||||||
int index = v>>30;
|
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;
|
control = v;
|
||||||
gfx3d_Control_cache();
|
gfx3d_Control_cache();
|
||||||
|
|
Loading…
Reference in New Issue