OpenXR - Initialization errors fixed

This commit is contained in:
Lubos committed 2022-08-19 15:17:42 +02:00
1 parent c508f66df1
commit 4603ccdd92
5 files changed
+35 -31

No files matched your search

+2 -2
View File
@@ -49,9 +49,9 @@ bool ovrFramebuffer_Create(
frameBuffer->Width = width;
frameBuffer->Height = height;
if (strstr((const char*)glGetString(GL_EXTENSIONS), "GL_OVR_multiview") == nullptr)
if (strstr((const char*)glGetString(GL_EXTENSIONS), "GL_OVR_multiview2") == nullptr)
{
ALOGE("OpenGL ES 3.0 implementation does not support GL_OVR_multiview extension.\n");
ALOGE("OpenGL implementation does not support GL_OVR_multiview2 extension.\n");
exit(EXIT_FAILURE);
}