From 7f2f523c4367aacbc0219d081ec1573ea137c47e Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Sat, 8 Nov 2014 22:09:31 -0800 Subject: [PATCH] Fixed compile error. --- examples/11-fontsdf/fontsdf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/11-fontsdf/fontsdf.cpp b/examples/11-fontsdf/fontsdf.cpp index 203ae4eb..da5de076 100644 --- a/examples/11-fontsdf/fontsdf.cpp +++ b/examples/11-fontsdf/fontsdf.cpp @@ -217,8 +217,8 @@ int _main_(int /*_argc*/, char** /*_argv*/) time += 0.05f; const float dist = 10.0f; - const float offset0 = -proj[8] + (hmd->eye[0].adjust[0] / dist * proj[0]); - const float offset1 = -proj[8] + (hmd->eye[1].adjust[0] / dist * proj[0]); + const float offset0 = -proj[8] + (hmd->eye[0].viewOffset[0] / dist * proj[0]); + const float offset1 = -proj[8] + (hmd->eye[1].viewOffset[0] / dist * proj[0]); float ortho[2][16]; const float viewOffset = width/4.0f;