This commit is contained in:
Glenn Maynard
2006-07-24 05:53:57 +00:00
parent 89b30b5ac9
commit f40b729eda
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -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();
}
+1 -1
View File
@@ -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 );