Use "i" for ints; don't distinguish between signed and unsigned. (If we're

marking unsigned ints, that seems to imply marking long ints, doubles vs.
floats, etc; Hungarian serves little enough purpose without being that fine-
grained.)
This commit is contained in:
Glenn Maynard
2006-07-24 06:11:37 +00:00
parent 9eaabe4a74
commit 2ddb0c2912
6 changed files with 21 additions and 21 deletions
+7 -7
View File
@@ -1715,11 +1715,11 @@ unsigned RageDisplay_OGL::CreateTexture(
}
// allocate OpenGL texture resource
unsigned int uTexHandle;
glGenTextures( 1, reinterpret_cast<GLuint*>(&uTexHandle) );
ASSERT( uTexHandle );
unsigned int iTexHandle;
glGenTextures( 1, reinterpret_cast<GLuint*>(&iTexHandle) );
ASSERT( iTexHandle );
glBindTexture( GL_TEXTURE_2D, uTexHandle );
glBindTexture( GL_TEXTURE_2D, iTexHandle );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
GLint iMinFilter;
if( bGenerateMipMaps )
@@ -1823,15 +1823,15 @@ unsigned RageDisplay_OGL::CreateTexture(
if( bFreeImg )
delete pImg;
return uTexHandle;
return iTexHandle;
}
void RageDisplay_OGL::UpdateTexture(
unsigned uTexHandle,
unsigned iTexHandle,
RageSurface* pImg,
int iXOffset, int iYOffset, int iWidth, int iHeight )
{
glBindTexture( GL_TEXTURE_2D, uTexHandle );
glBindTexture( GL_TEXTURE_2D, iTexHandle );
bool bFreeImg;
PixelFormat SurfacePixFmt = GetImgPixelFormat( pImg, bFreeImg, iWidth, iHeight, false );