diff --git a/GL/matrix.c b/GL/matrix.c index f71a624..29f980e 100644 --- a/GL/matrix.c +++ b/GL/matrix.c @@ -181,11 +181,11 @@ void APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { 0.0f, 0.0f, 0.0f, 1.0f }; - float r = DEG2RAD * angle; #ifdef __DREAMCAST__ float s, c; - fsincos(r, &s, &c); + fsincos(angle, &s, &c); #else + float r = DEG2RAD * angle; float c = cosf(r); float s = sinf(r); #endif