From d2868bcafcd1bc0e0f5c69e572ef54f4da5f7615 Mon Sep 17 00:00:00 2001 From: samcake Date: Thu, 19 Mar 2015 16:00:47 -0700 Subject: [PATCH] fixing the shader for mac --- libraries/gpu/src/gpu/Transform.slh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/gpu/src/gpu/Transform.slh b/libraries/gpu/src/gpu/Transform.slh index 4988b230cc..9019ec928c 100644 --- a/libraries/gpu/src/gpu/Transform.slh +++ b/libraries/gpu/src/gpu/Transform.slh @@ -88,7 +88,7 @@ TransformCamera getTransformCamera() { <@endif@> <@endfunc@> - + <@func transformModelToClipPos(cameraTransform, objectTransform, modelPos, clipPos)@> <@if GPU_TRANSFORM_PROFILE == GPU_CORE@> = <$cameraTransform$>._projectionViewUntranslated * _eyepos; } <@else@> - <$clippos$> = gl_ModelViewProjectionMatrix * <$modelPos$>; + <$clipPos$> = gl_ModelViewProjectionMatrix * <$modelPos$>; <@endif@> <@endfunc@>