From 51f9987298189fc0e176e50406db7a1e88cffc07 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Fri, 13 Apr 2018 15:30:42 -0400 Subject: [PATCH] Update CommandBufferGL.cpp --- src/backend/opengl/CommandBufferGL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/opengl/CommandBufferGL.cpp b/src/backend/opengl/CommandBufferGL.cpp index d3ee6de4f3..f5cbd33afd 100644 --- a/src/backend/opengl/CommandBufferGL.cpp +++ b/src/backend/opengl/CommandBufferGL.cpp @@ -129,8 +129,8 @@ namespace backend { namespace opengl { break; case PushConstantType::Float: float value; - // Use a memcpy to avoid strict-aliasing warnings, even if it is still - // technically undefined behavior. + // Use a memcpy to avoid strict-aliasing warnings, even if it is + // still technically undefined behavior. memcpy(&value, &mValues[stage][constant], sizeof(value)); glUniform1f(location, value); break;