Buildfixes

This commit is contained in:
Henrik Rydgård committed 2022-10-17 20:43:58 +02:00
1 parent 8df6efa712
commit 0a222345c1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -270,7 +270,7 @@ void ovrFramebuffer_Destroy(ovrFramebuffer* frameBuffer) {
void* ovrFramebuffer_SetCurrent(ovrFramebuffer* frameBuffer) {
if (frameBuffer->UseVulkan) {
return frameBuffer->VKFrameBuffers[frameBuffer->TextureSwapChainIndex];
return (void *)frameBuffer->VKFrameBuffers[frameBuffer->TextureSwapChainIndex];
} else {
#if PPSSPP_PLATFORM(ANDROID)
GL(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, frameBuffer->GLFrameBuffers[frameBuffer->TextureSwapChainIndex]));