missed a piece
This commit is contained in:
@@ -604,6 +604,12 @@ RageMatrix RageDisplay::GetFrustumMatrix( float l, float r, float b, float t, fl
|
||||
return m;
|
||||
}
|
||||
|
||||
void RageDisplay::ResolutionChanged()
|
||||
{
|
||||
/* The centering matrix depends on the resolution. */
|
||||
UpdateCentering();
|
||||
}
|
||||
|
||||
void RageDisplay::ChangeCentering( int iTranslateX, int iTranslateY, int iAddWidth, int iAddHeight )
|
||||
{
|
||||
g_iTranslateX = iTranslateX;
|
||||
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
CString SetVideoMode( VideoModeParams p, bool &bNeedReloadTextures );
|
||||
|
||||
/* Call this when the resolution has been changed externally: */
|
||||
virtual void ResolutionChanged() { }
|
||||
virtual void ResolutionChanged();
|
||||
|
||||
virtual bool BeginFrame() = 0;
|
||||
virtual void EndFrame();
|
||||
|
||||
Reference in New Issue
Block a user