mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-03 14:06:44 +00:00
togl: replace long with int
This commit is contained in:
parent
d59e0ffa59
commit
363f4774f1
@ -4654,14 +4654,14 @@ void GLMContext::GenDebugFontTex( void )
|
|||||||
|
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
// fetch elements of font data and make texels... we're doing the whole slab so we don't really need the stride info
|
// fetch elements of font data and make texels... we're doing the whole slab so we don't really need the stride info
|
||||||
unsigned long *destTexelPtr = (unsigned long *)lockAddress;
|
uint32 *destTexelPtr = (uint32 *)lockAddress;
|
||||||
|
|
||||||
for( int index = 0; index < 16384; index++ )
|
for( int index = 0; index < 16384; index++ )
|
||||||
{
|
{
|
||||||
if (g_glmDebugFontMap[index] == ' ')
|
if (g_glmDebugFontMap[index] == ' ')
|
||||||
{
|
{
|
||||||
// clear
|
// clear
|
||||||
*destTexelPtr = 0x00000000;
|
*destTexelPtr = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user