This commit is contained in:
2026-01-17 10:50:20 +01:00
parent e7a514a713
commit bced7d7666
16 changed files with 424 additions and 11 deletions

View File

@@ -147,9 +147,8 @@ UnityPluginLoad(IUnityInterfaces* unityInterfaces)
Logger::Log("UnityPluginLoad: Vulkan initialization failed, falling back to OpenGL");
}
// Fall back to OpenGL for GLES renderers
if (g_rendererType == kUnityGfxRendererOpenGLES20 ||
g_rendererType == kUnityGfxRendererOpenGLES30)
// Fall back to OpenGL for GLES renderer (Unity 6+ only supports GLES 3.0+)
if (g_rendererType == kUnityGfxRendererOpenGLES30)
{
g_backend = std::make_unique<OpenGLTextureBackend>();
Logger::Log("UnityPluginLoad: Using OpenGL backend");