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