mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
win64: misc pointer truncation fixes
This commit is contained in:
@@ -79,7 +79,7 @@ ColorCorrectionLookup_t::~ColorCorrectionLookup_t( )
|
||||
void ColorCorrectionLookup_t::AllocTexture()
|
||||
{
|
||||
char name[64];
|
||||
sprintf( name, "ColorCorrection - %d", m_Handle );
|
||||
sprintf( name, "ColorCorrection - %p", m_Handle );
|
||||
|
||||
m_pColorCorrectionTexture = ITextureInternal::CreateProceduralTexture( name, TEXTURE_GROUP_OTHER,
|
||||
COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, IMAGE_FORMAT_BGRX8888,
|
||||
|
||||
Reference in New Issue
Block a user