cleanup
This commit is contained in:
@@ -1595,12 +1595,10 @@ void RageDisplay_OGL::EndConcurrentRendering()
|
|||||||
g_pWind->EndConcurrentRendering();
|
g_pWind->EndConcurrentRendering();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RageDisplay_OGL::DeleteTexture( unsigned uTexHandle )
|
void RageDisplay_OGL::DeleteTexture( unsigned iTexture )
|
||||||
{
|
{
|
||||||
unsigned int uTexID = uTexHandle;
|
|
||||||
|
|
||||||
FlushGLErrors();
|
FlushGLErrors();
|
||||||
glDeleteTextures(1,reinterpret_cast<GLuint*>(&uTexID));
|
glDeleteTextures( 1, reinterpret_cast<GLuint*>(&iTexture) );
|
||||||
AssertNoGLError();
|
AssertNoGLError();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ static bool LoadAllOrNothing( struct func_t *funcs, LowLevelWindow *pWind )
|
|||||||
|
|
||||||
static void GetGLExtensions( set<string> &ext )
|
static void GetGLExtensions( set<string> &ext )
|
||||||
{
|
{
|
||||||
const char *szBuf = (const char *) glGetString( GL_EXTENSIONS );
|
const char *szBuf = (const char *) glGetString( GL_EXTENSIONS );
|
||||||
|
|
||||||
vector<RString> asList;
|
vector<RString> asList;
|
||||||
split( szBuf, " ", asList );
|
split( szBuf, " ", asList );
|
||||||
|
|||||||
Reference in New Issue
Block a user