OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "TransitionStarWipe.h"
|
||||
#include "GameConstantsAndTypes.h"
|
||||
#include "PrefsManager.h"
|
||||
#include "ThemeManager.h"
|
||||
|
||||
|
||||
TransitionStarWipe::TransitionStarWipe()
|
||||
@@ -70,7 +71,7 @@ void TransitionStarWipe::DrawPrimitives()
|
||||
SCREEN_WIDTH+SCREEN_HEIGHT/2 - x_offset + x_tilt;
|
||||
|
||||
|
||||
m_sprStar.SetRotation( bIsAnEvenRow ? D3DX_PI : 0.0f ); // flip the sprite
|
||||
m_sprStar.SetRotation( bIsAnEvenRow ? PI : 0.0f ); // flip the sprite
|
||||
m_sprStar.SetXY( bIsAnEvenRow?x-1.0f:x+0.0f, bIsAnEvenRow?y-1.0f:y+0.0f ); // fudge. The rotation makes it off center
|
||||
m_sprStar.Draw();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user