mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Ignore sRGB from image container, use only flag passed.
This commit is contained in:
@@ -2933,11 +2933,6 @@ namespace bgfx { namespace d3d9
|
||||
createTexture(textureWidth, textureHeight, numMips);
|
||||
}
|
||||
|
||||
if (imageContainer.m_srgb)
|
||||
{
|
||||
m_flags |= BGFX_TEXTURE_SRGB;
|
||||
}
|
||||
|
||||
BX_TRACE("Texture %3d: %s (requested: %s), %dx%d%s%s."
|
||||
, this - s_renderD3D9->m_textures
|
||||
, getName( (TextureFormat::Enum)m_textureFormat)
|
||||
|
||||
Reference in New Issue
Block a user