1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Disable "draw_elements_base_vertex" extension if renderer is PowerVR and

GLES is < 3.2
This commit is contained in:
fzurita 2020-12-13 21:12:32 -05:00 committed by Sergey Lipskiy
parent c39df6b8c2
commit 3b6aa38b14

View File

@ -104,7 +104,9 @@ void GLInfo::init() {
config.generalEmulation.enableHybridFilter = 0;
}
drawElementsBaseVertex = !isGLESX || Utils::isExtensionSupported(*this, "GL_EXT_draw_elements_base_vertex");
drawElementsBaseVertex = !isGLESX ||
(Utils::isExtensionSupported(*this, "GL_EXT_draw_elements_base_vertex") && (renderer != Renderer::PowerVR ||
numericVersion >= 32));
bufferStorage = (!isGLESX && (numericVersion >= 44)) || Utils::isExtensionSupported(*this, "GL_ARB_buffer_storage") ||
Utils::isExtensionSupported(*this, "GL_EXT_buffer_storage");