missed a piece

This commit is contained in:
Glenn Maynard
2005-12-29 08:14:52 +00:00
parent 580ff0716a
commit c7a3cbc5fb
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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;
+1 -1
View File
@@ -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();