From 7c1f8b63ad5a8d3e2fb36eae51881f437f988d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 23 Aug 2022 16:59:18 -0400 Subject: [PATCH] glthread: work around GL_INVALID_OPERATION with OpenGL ES 1.x draws GLES1 only has (Multi)Draw{Array,Elements}, but glthread converts them to the more complicated versions and then calls them through the dispatch, which generated GL_INVALID_OPERATION. Luckily, we can export them with the Internal prefix, so they are unlikely to be used by apps by accident. Acked-by: Adam Jackson Part-of: --- src/mapi/glapi/gen/gl_API.xml | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 1d21f3a72db..35bbac8c8d1 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -12863,6 +12863,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +