mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Renamed UniformType enum Int1 to Sampler.
This commit is contained in:
@@ -183,10 +183,10 @@ public:
|
||||
m_meshProgram = loadProgram("vs_hdr_mesh", "fs_hdr_mesh");
|
||||
m_tonemapProgram = loadProgram("vs_hdr_tonemap", "fs_hdr_tonemap");
|
||||
|
||||
s_texCube = bgfx::createUniform("s_texCube", bgfx::UniformType::Int1);
|
||||
s_texColor = bgfx::createUniform("s_texColor", bgfx::UniformType::Int1);
|
||||
s_texLum = bgfx::createUniform("s_texLum", bgfx::UniformType::Int1);
|
||||
s_texBlur = bgfx::createUniform("s_texBlur", bgfx::UniformType::Int1);
|
||||
s_texCube = bgfx::createUniform("s_texCube", bgfx::UniformType::Sampler);
|
||||
s_texColor = bgfx::createUniform("s_texColor", bgfx::UniformType::Sampler);
|
||||
s_texLum = bgfx::createUniform("s_texLum", bgfx::UniformType::Sampler);
|
||||
s_texBlur = bgfx::createUniform("s_texBlur", bgfx::UniformType::Sampler);
|
||||
u_mtx = bgfx::createUniform("u_mtx", bgfx::UniformType::Mat4);
|
||||
u_tonemap = bgfx::createUniform("u_tonemap", bgfx::UniformType::Vec4);
|
||||
u_offset = bgfx::createUniform("u_offset", bgfx::UniformType::Vec4, 16);
|
||||
|
||||
Reference in New Issue
Block a user