mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Buildfixes
This commit is contained in:
parent
8df6efa712
commit
0a222345c1
@ -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 {
|
||||
|
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user