mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 12:10:44 +02:00
Merge pull request #5791 from jherico/homer
Fix procedural vec3 uniforms
This commit is contained in:
commit
4d6d882f52
1 changed files with 3 additions and 3 deletions
|
@ -203,8 +203,8 @@ void Procedural::prepare(gpu::Batch& batch, const glm::vec3& size) {
|
|||
case 3:
|
||||
batch._glUniform3f(slot,
|
||||
valueArray[0].toDouble(),
|
||||
valueArray[0].toDouble(),
|
||||
valueArray[1].toDouble());
|
||||
valueArray[1].toDouble(),
|
||||
valueArray[2].toDouble());
|
||||
break;
|
||||
case 4:
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue