Fix typo;

This commit is contained in:
bjorn 2016-09-26 19:56:17 -07:00
parent 5f7e335f27
commit f531be3fc5
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ void viveRenderTo(void* headset, headsetRenderCallback callback, void* userdata)
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
Texture_t eyeTexture = { (void*) state->renderTexture, EGraphicsAPIConvention_API_OpenGL, EColorSpace_ColorSpace_Gamma };
Texture_t eyeTexture = { (void*) state->resolveTexture, EGraphicsAPIConvention_API_OpenGL, EColorSpace_ColorSpace_Gamma };
EVRSubmitFlags flags = EVRSubmitFlags_Submit_Default;
state->vrCompositor->Submit(eye, &eyeTexture, NULL, flags);
}