|
|
@ -79,7 +79,7 @@ ColorCorrectionLookup_t::~ColorCorrectionLookup_t( ) |
|
|
|
void ColorCorrectionLookup_t::AllocTexture() |
|
|
|
void ColorCorrectionLookup_t::AllocTexture() |
|
|
|
{ |
|
|
|
{ |
|
|
|
char name[64]; |
|
|
|
char name[64]; |
|
|
|
sprintf( name, "ColorCorrection - %d", m_Handle ); |
|
|
|
sprintf( name, "ColorCorrection - %p", m_Handle ); |
|
|
|
|
|
|
|
|
|
|
|
m_pColorCorrectionTexture = ITextureInternal::CreateProceduralTexture( name, TEXTURE_GROUP_OTHER, |
|
|
|
m_pColorCorrectionTexture = ITextureInternal::CreateProceduralTexture( name, TEXTURE_GROUP_OTHER, |
|
|
|
COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, IMAGE_FORMAT_BGRX8888, |
|
|
|
COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, IMAGE_FORMAT_BGRX8888, |
|
|
|