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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user