From 1abb408a93da76a62c811557e5ca470dc1de44bc Mon Sep 17 00:00:00 2001 From: HifiExperiments Date: Wed, 3 Mar 2021 18:58:09 -0800 Subject: [PATCH] type --- libraries/gpu-gl-common/src/gpu/gl/GLBackendInput.cpp | 2 +- libraries/gpu-gl/src/gpu/gl41/GL41BackendInput.cpp | 2 +- libraries/gpu-gl/src/gpu/gl45/GL45BackendInput.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/gpu-gl-common/src/gpu/gl/GLBackendInput.cpp b/libraries/gpu-gl-common/src/gpu/gl/GLBackendInput.cpp index 1bfc27f0d2..4efd5f9941 100644 --- a/libraries/gpu-gl-common/src/gpu/gl/GLBackendInput.cpp +++ b/libraries/gpu-gl-common/src/gpu/gl/GLBackendInput.cpp @@ -228,7 +228,7 @@ void GLBackend::updateInput() { } if (!hasColorAttribute && _input._hadColorAttribute) { - // The last stage had a color attribute but this one doens't, so reset the color to pure white. + // The previous input stage had a color attribute but this one doesn't, so reset the color to pure white. _input._colorAttribute = glm::vec4(1.0f); glVertexAttrib4fv(Stream::COLOR, &_input._colorAttribute.r); } diff --git a/libraries/gpu-gl/src/gpu/gl41/GL41BackendInput.cpp b/libraries/gpu-gl/src/gpu/gl41/GL41BackendInput.cpp index 0a3d2d7a16..188b4a1084 100644 --- a/libraries/gpu-gl/src/gpu/gl41/GL41BackendInput.cpp +++ b/libraries/gpu-gl/src/gpu/gl41/GL41BackendInput.cpp @@ -133,7 +133,7 @@ void GL41Backend::updateInput() { } if (!hasColorAttribute && _input._hadColorAttribute) { - // The last stage had a color attribute but this one doens't, so reset the color to pure white. + // The previous input stage had a color attribute but this one doesn't, so reset the color to pure white. _input._colorAttribute = glm::vec4(1.0f); glVertexAttrib4fv(Stream::COLOR, &_input._colorAttribute.r); } diff --git a/libraries/gpu-gl/src/gpu/gl45/GL45BackendInput.cpp b/libraries/gpu-gl/src/gpu/gl45/GL45BackendInput.cpp index 2f0b140e0b..8add4a9296 100644 --- a/libraries/gpu-gl/src/gpu/gl45/GL45BackendInput.cpp +++ b/libraries/gpu-gl/src/gpu/gl45/GL45BackendInput.cpp @@ -100,7 +100,7 @@ void GL45Backend::updateInput() { } if (!hasColorAttribute && _input._hadColorAttribute) { - // The last stage had a color attribute but this one doens't, so reset the color to pure white. + // The previous input stage had a color attribute but this one doesn't, so reset the color to pure white. _input._colorAttribute = glm::vec4(1.0f); glVertexAttrib4fv(Stream::COLOR, &_input._colorAttribute.r); }