mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
OpenXR - Finalize VR renderer interface
This commit is contained in:
1 parent
9fe7bbdb43
commit
8daba0d881
6 files changed
+64
-30
No files matched your search
@@ -17,8 +17,6 @@
|
||||
#include "Common/StringUtils.h"
|
||||
|
||||
#ifdef OPENXR
|
||||
#include <GLES3/gl3.h>
|
||||
#include <GLES3/gl3ext.h>
|
||||
#include "VR/VRBase.h"
|
||||
#include "VR/VRRenderer.h"
|
||||
#endif
|
||||
@@ -96,8 +94,7 @@ void UIScreen::preRender() {
|
||||
screenManager()->getUIContext()->BeginFrame();
|
||||
|
||||
#ifdef OPENXR
|
||||
GLuint fbo = VR_Framebuffer(VR_GetEngine(), 0);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fbo);
|
||||
VR_BindFramebuffer(VR_GetEngine(), 0);
|
||||
#endif
|
||||
|
||||
Draw::Viewport viewport;
|
||||
|
||||
Reference in new issue
Block a user