mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-04 13:41:32 +00:00
Ensure Vulkan gamma texture is initialized
This commit is contained in:
parent
25dc238c44
commit
1d70723c98
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user