We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbaa2f6 commit 964c183Copy full SHA for 964c183
src/ofxOpenVR.cpp
@@ -134,9 +134,9 @@ void ofxOpenVR::render()
134
{
135
renderStereoTargets();
136
137
- vr::Texture_t leftEyeTexture = { (void*)leftEyeDesc._nResolveTextureId, vr::TextureType_OpenGL, vr::ColorSpace_Gamma };
+ vr::Texture_t leftEyeTexture = { (void*)(uintptr_t)leftEyeDesc._nResolveTextureId, vr::TextureType_OpenGL, vr::ColorSpace_Gamma };
138
vr::VRCompositor()->Submit(vr::Eye_Left, &leftEyeTexture);
139
- vr::Texture_t rightEyeTexture = { (void*)rightEyeDesc._nResolveTextureId, vr::TextureType_OpenGL, vr::ColorSpace_Gamma };
+ vr::Texture_t rightEyeTexture = { (void*)(uintptr_t)rightEyeDesc._nResolveTextureId, vr::TextureType_OpenGL, vr::ColorSpace_Gamma };
140
vr::VRCompositor()->Submit(vr::Eye_Right, &rightEyeTexture);
141
}
142
0 commit comments