This commit is contained in:
parent
6447101546
commit
e7addfc9ad
@ -82,7 +82,12 @@ void ColorCorrectionLookup_t::AllocTexture()
|
|||||||
sprintf( name, "ColorCorrection - %p", 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,
|
||||||
|
#ifdef DX_TO_GL_ABSTRACTION
|
||||||
|
IMAGE_FORMAT_RGBA8888,
|
||||||
|
#else
|
||||||
|
IMAGE_FORMAT_BGRX8888,
|
||||||
|
#endif
|
||||||
TEXTUREFLAGS_NOMIP | TEXTUREFLAGS_NOLOD | TEXTUREFLAGS_SINGLECOPY | TEXTUREFLAGS_CLAMPS |
|
TEXTUREFLAGS_NOMIP | TEXTUREFLAGS_NOLOD | TEXTUREFLAGS_SINGLECOPY | TEXTUREFLAGS_CLAMPS |
|
||||||
TEXTUREFLAGS_CLAMPT | TEXTUREFLAGS_CLAMPU | TEXTUREFLAGS_NODEBUGOVERRIDE );
|
TEXTUREFLAGS_CLAMPT | TEXTUREFLAGS_CLAMPU | TEXTUREFLAGS_NODEBUGOVERRIDE );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user