mirror of https://github.com/bjornbytes/lovr.git
Fix typo;
This commit is contained in:
parent
5f7e335f27
commit
f531be3fc5
|
@ -243,7 +243,7 @@ void viveRenderTo(void* headset, headsetRenderCallback callback, void* userdata)
|
||||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
|
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
|
||||||
glBindFramebuffer(GL_DRAW_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;
|
EVRSubmitFlags flags = EVRSubmitFlags_Submit_Default;
|
||||||
state->vrCompositor->Submit(eye, &eyeTexture, NULL, flags);
|
state->vrCompositor->Submit(eye, &eyeTexture, NULL, flags);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue