Missed some glRotatef -> gGL.rotatef conversions.
This commit is contained in:
@@ -665,7 +665,7 @@ void gl_draw_scaled_rotated_image(S32 x, S32 y, S32 width, S32 height, F32 degre
|
||||
F32 offset_x = F32(width/2);
|
||||
F32 offset_y = F32(height/2);
|
||||
gGL.translatef( offset_x, offset_y, 0.f);
|
||||
glRotatef( degrees, 0.f, 0.f, 1.f );
|
||||
gGL.rotatef( degrees, 0.f, 0.f, 1.f );
|
||||
gGL.translatef( -offset_x, -offset_y, 0.f );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user