Ensure Vulkan gamma texture is initialized

This commit is contained in:
Jack Andersen 2018-01-22 18:39:40 -10:00
parent 25dc238c44
commit 1d70723c98
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ class VulkanDataFactoryImpl : public VulkanDataFactory, public GraphicsDataFacto
m_gammaVFMT, BlendFactor::One, BlendFactor::Zero,
Primitive::TriStrips, ZTest::None, false, true, false, CullMode::None);
m_gammaLUT = ctx.newDynamicTexture(256, 256, TextureFormat::I16, TextureClampMode::ClampToEdge);
setDisplayGamma(1.f);
const struct Vert {
float pos[4];
float uv[4];