mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
OpenXR - Unused parameter removed
This commit is contained in:
parent
caac01216c
commit
c71ecd7756
@ -1661,7 +1661,7 @@ void GLQueueRunner::fbo_unbind() {
|
||||
#endif
|
||||
|
||||
#ifdef OPENXR
|
||||
VR_BindFramebuffer(VR_GetEngine(), 0);
|
||||
VR_BindFramebuffer(VR_GetEngine());
|
||||
#endif
|
||||
|
||||
currentDrawHandle_ = 0;
|
||||
|
@ -94,7 +94,7 @@ void UIScreen::preRender() {
|
||||
screenManager()->getUIContext()->BeginFrame();
|
||||
|
||||
#ifdef OPENXR
|
||||
VR_BindFramebuffer(VR_GetEngine(), 0);
|
||||
VR_BindFramebuffer(VR_GetEngine());
|
||||
#endif
|
||||
|
||||
Draw::Viewport viewport;
|
||||
|
@ -419,7 +419,7 @@ void VR_SetConfig( VRConfig config, int value) {
|
||||
vrConfig[config] = value;
|
||||
}
|
||||
|
||||
void VR_BindFramebuffer( engine_t* engine, int eye ) {
|
||||
void VR_BindFramebuffer(engine_t *engine) {
|
||||
if (!initialized) return;
|
||||
ovrFramebuffer* frameBuffer = &engine->appState.Renderer.FrameBuffer;
|
||||
int swapchainIndex = frameBuffer->TextureSwapChainIndex;
|
||||
|
@ -42,5 +42,5 @@ void VR_EndFrame( engine_t* engine );
|
||||
int VR_GetConfig( VRConfig config );
|
||||
void VR_SetConfig( VRConfig config, int value);
|
||||
|
||||
void VR_BindFramebuffer( engine_t* engine, int eye );
|
||||
void VR_BindFramebuffer(engine_t *engine);
|
||||
ovrMatrix4f VR_GetMatrix( VRMatrix matrix );
|
||||
|
Loading…
Reference in New Issue
Block a user