Commit 0fba12e7 authored by Robert Menzel's avatar Robert Menzel

minor rift controller fix

parent 5aa39346
......@@ -12,7 +12,7 @@
*/
#include <ACGL/ACGL.hh>
#define ACGL_USE_OCULUS_RIFT
//#define ACGL_USE_OCULUS_RIFT
#ifdef ACGL_USE_OCULUS_RIFT
#include <ACGL/Math/Math.hh>
......@@ -209,6 +209,8 @@ private:
float mPredictionTime;
};
ACGL_SMARTPOINTER_TYPEDEFS(SimpleRiftController)
}
}
......
......@@ -575,7 +575,7 @@ void SimpleRiftController::renderDistorted( OpenGL::ConstSharedTexture2D _sideBy
mDistortShaderSideBySide->attachShader( vs );
mDistortShaderSideBySide->attachShader( fs );
mDistortShaderSideBySide->link();
mDistortShaderTwoTextures->use();
mDistortShaderSideBySide->use();
uLensCenter = mDistortShaderSideBySide->getUniformLocation("uLensCenter");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment