Skip to content

Commit

Permalink
Buildfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Oct 17, 2022
1 parent 8df6efa commit 0a22234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Common/VR/VRBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void VR_Init( ovrJava java, bool useVulkan ) {
xrInitializeLoaderKHR((XrLoaderInitInfoBaseHeaderKHR*)&loaderInitializeInfoAndroid);
}

std::vector<char*> extensions;
std::vector<const char *> extensions;
if (useVulkan) {
extensions.push_back(XR_KHR_VULKAN_ENABLE_EXTENSION_NAME);
} else {
Expand Down
2 changes: 1 addition & 1 deletion Common/VR/VRFramebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
Expand Down

0 comments on commit 0a22234

Please sign in to comment.