make RageDisplay::Init virtual to remove dupe code

This commit is contained in:
Chris Danford
2006-02-06 20:14:02 +00:00
parent 70479fd0c4
commit dbafa29a88
8 changed files with 58 additions and 42 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ void InitScalingScript()
GLExt.glVertexAttrib2fARB( ATTRIB_TEXTURE_MATRIX_SCALE, 1, 1 );
}
RString RageDisplay_OGL::Init( VideoModeParams p, bool bAllowUnacceleratedRenderer )
RString RageDisplay_OGL::Init( const VideoModeParams &p, bool bAllowUnacceleratedRenderer )
{
g_pWind = MakeLowLevelWindow();