diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 64961fb242..5e10a54150 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -434,17 +434,6 @@ CString RageDisplay_OGL::Init( VideoModeParams p, bool bAllowUnacceleratedRender return "GLDirect was detected. GLDirect is not compatible with " PRODUCT_NAME ", and should be disabled.\n"; #endif -#if defined(UNIX) - if( !glXIsDirect( g_X11Display, glXGetCurrentContext() ) ) - { - if( !bAllowUnacceleratedRenderer ) - return "Your system is reporting that direct rendering is not available. " - "Please obtain an updated driver from your video card manufacturer."; - - LOG->Warn("Direct rendering is not enabled!"); - } -#endif - /* Log this, so if people complain that the radar looks bad on their * system we can compare them: */ glGetFloatv( GL_LINE_WIDTH_RANGE, g_line_range ); @@ -459,17 +448,6 @@ CString RageDisplay_OGL::Init( VideoModeParams p, bool bAllowUnacceleratedRender #include #endif -bool RageDisplay_OGL::IsSoftwareRenderer() -{ -#if defined(WIN32) - return - ( strcmp((const char*)glGetString(GL_VENDOR),"Microsoft Corporation")==0 ) && - ( strcmp((const char*)glGetString(GL_RENDERER),"GDI Generic")==0 ); -#else - return false; -#endif -} - RageDisplay_OGL::~RageDisplay_OGL() { delete g_pWind; diff --git a/stepmania/src/RageDisplay_OGL.h b/stepmania/src/RageDisplay_OGL.h index 14f7d80c26..c0a45bde3f 100644 --- a/stepmania/src/RageDisplay_OGL.h +++ b/stepmania/src/RageDisplay_OGL.h @@ -11,7 +11,6 @@ public: CString Init( VideoModeParams p, bool bAllowUnacceleratedRenderer ); virtual CString GetApiDescription() { return "OpenGL"; } - bool IsSoftwareRenderer(); void ResolutionChanged(); const PixelFormatDesc *GetPixelFormatDesc(PixelFormat pf) const;