Make* -> Driver::Create. Having these floating in arch.h isn't

useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
This commit is contained in:
Glenn Maynard
2006-12-17 07:41:21 +00:00
parent 50ca6633cb
commit 17c32b90c2
14 changed files with 19 additions and 14 deletions
+1 -3
View File
@@ -19,8 +19,6 @@ using namespace RageDisplay_OGL_Helpers;
#include "arch/LowLevelWindow/LowLevelWindow.h"
#include "arch/arch.h"
#include <set>
#include <sstream>
@@ -347,7 +345,7 @@ static LocalizedString OBTAIN_AN_UPDATED_VIDEO_DRIVER ( "RageDisplay_OGL", "Obta
static LocalizedString GLDIRECT_IS_NOT_COMPATIBLE ( "RageDisplay_OGL", "GLDirect was detected. GLDirect is not compatible with this game and should be disabled." );
RString RageDisplay_OGL::Init( const VideoModeParams &p, bool bAllowUnacceleratedRenderer )
{
g_pWind = MakeLowLevelWindow();
g_pWind = LowLevelWindow::Create();
bool bIgnore = false;
RString sError = SetVideoMode( p, bIgnore );