From 1d70723c985568eecfb9808329b53bb490c943f8 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 22 Jan 2018 18:39:40 -1000 Subject: [PATCH] Ensure Vulkan gamma texture is initialized --- lib/graphicsdev/Vulkan.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/graphicsdev/Vulkan.cpp b/lib/graphicsdev/Vulkan.cpp index 3944b0a..f4bd0ff 100644 --- a/lib/graphicsdev/Vulkan.cpp +++ b/lib/graphicsdev/Vulkan.cpp @@ -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];