mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 20:20:54 +00:00
Build: Change renderSetRollAngle() to take a float and not an int32_t.
This commit is contained in:
parent
bece408548
commit
3749a89d6a
2 changed files with 3 additions and 3 deletions
|
@ -1064,7 +1064,7 @@ int32_t wallvisible(int32_t const x, int32_t const y, int16_t const wallnum);
|
||||||
int32_t videoSetRenderMode(int32_t renderer);
|
int32_t videoSetRenderMode(int32_t renderer);
|
||||||
|
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
void renderSetRollAngle(int32_t rolla);
|
void renderSetRollAngle(float rolla);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// pal: pass -1 to invalidate all palettes for the tile, or >=0 for a particular palette
|
// pal: pass -1 to invalidate all palettes for the tile, or >=0 for a particular palette
|
||||||
|
|
|
@ -5465,8 +5465,8 @@ int32_t videoSetRenderMode(int32_t renderer)
|
||||||
// setrollangle
|
// setrollangle
|
||||||
//
|
//
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
void renderSetRollAngle(int32_t rolla)
|
void renderSetRollAngle(float rolla)
|
||||||
{
|
{
|
||||||
gtang = (float)rolla * (fPI * (1.f/1024.f));
|
gtang = rolla * (fPI * (1.f/1024.f));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue