OpenXR - Unused parameter removed

This commit is contained in:
Lubos 2022-08-14 11:47:33 +02:00
parent caac01216c
commit c71ecd7756
4 changed files with 4 additions and 4 deletions

View File

@ -1661,7 +1661,7 @@ void GLQueueRunner::fbo_unbind() {
#endif
#ifdef OPENXR
VR_BindFramebuffer(VR_GetEngine(), 0);
VR_BindFramebuffer(VR_GetEngine());
#endif
currentDrawHandle_ = 0;

View File

@ -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;

View File

@ -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;

View File

@ -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 );