libglvnd/U_Fix-typo-in-LIBRARY_FEATURE_NAMES.patch

30 lines
968 B
Diff
Raw Normal View History

Git-commit: 37fc6caa4b80bb7c75a8285d36d168cbf6932ef2
Patch-mainline: To-be-upstreamed
Author: Michal Srb <msrb@suse.com>
Subject: Fix typo in _LIBRARY_FEATURE_NAMES.
References: bnc#1052776
The missing comma caused the "GL_ES_VERSION_3_1" and "GL_ES_VERSION_3_2" to
concatenate into non-existing feature name. Symbols from gles 3.1 and 3.2 were
then missing in the generated files.
---
src/generate/genCommon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/generate/genCommon.py b/src/generate/genCommon.py
index b486ad0..5c721ac 100644
--- a/src/generate/genCommon.py
+++ b/src/generate/genCommon.py
@@ -44,7 +44,7 @@ _LIBRARY_FEATURE_NAMES = {
)),
"glesv1" : frozenset(("GL_VERSION_ES_CM_1_0", "GL_OES_point_size_array")),
"glesv2" : frozenset(("GL_ES_VERSION_2_0", "GL_ES_VERSION_3_0",
- "GL_ES_VERSION_3_1" "GL_ES_VERSION_3_2",
+ "GL_ES_VERSION_3_1", "GL_ES_VERSION_3_2",
)),
}
--
2.12.3