mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Use correct framebuffer
This commit is contained in:
parent
e7f8770008
commit
bde091d6b2
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ void ovrFramebuffer_Resolve(ovrFramebuffer* frameBuffer) {
|
|||
int width, height;
|
||||
R_GetModeInfo(&width, &height, r_mode->integer);
|
||||
|
||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, colorTexture);
|
||||
glBindFramebuffer(GL_READ_FRAMEBUFFER, frameBuffer->FrameBuffers[frameBuffer->TextureSwapChainIndex]);
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
|
||||
glBlitFramebuffer(0, 0, gAppState.Width, gAppState.Height,
|
||||
0, 0, width, height,
|
||||
|
|
Loading…
Reference in a new issue