This commit is contained in:
parent
80d74c5e55
commit
f0d6152c1b
1 changed files with 6 additions and 1 deletions
|
@ -82,7 +82,12 @@ void ColorCorrectionLookup_t::AllocTexture()
|
|||
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,
|
||||
COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE, COLOR_CORRECTION_TEXTURE_SIZE,
|
||||
#ifdef DX_TO_GL_ABSTRACTION
|
||||
IMAGE_FORMAT_RGBA8888,
|
||||
#else
|
||||
IMAGE_FORMAT_BGRX8888,
|
||||
#endif
|
||||
TEXTUREFLAGS_NOMIP | TEXTUREFLAGS_NOLOD | TEXTUREFLAGS_SINGLECOPY | TEXTUREFLAGS_CLAMPS |
|
||||
TEXTUREFLAGS_CLAMPT | TEXTUREFLAGS_CLAMPU | TEXTUREFLAGS_NODEBUGOVERRIDE );
|
||||
|
||||
|
|
Loading…
Reference in a new issue