Renamed UniformType enum Int1 to Sampler.

This commit is contained in:
Бранимир Караџић
2019-01-11 14:14:17 -08:00
parent 6e75f9f663
commit a54f8a3f81
38 changed files with 101 additions and 109 deletions

View File

@@ -250,8 +250,8 @@ public:
}
// Create texture sampler uniforms.
s_texCube = bgfx::createUniform("s_texCube", bgfx::UniformType::Int1);
s_texColor = bgfx::createUniform("s_texColor", bgfx::UniformType::Int1);
s_texCube = bgfx::createUniform("s_texCube", bgfx::UniformType::Sampler);
s_texColor = bgfx::createUniform("s_texColor", bgfx::UniformType::Sampler);
// Create time uniform.
u_time = bgfx::createUniform("u_time", bgfx::UniformType::Vec4);