Skip to content

Commit

Permalink
flextGL now supports OpenGL 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ginkgo committed Aug 8, 2011
1 parent 3f9f643 commit 30fdb7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flextGLgen.py
Expand Up @@ -350,7 +350,7 @@ def find_longest_enum(enums):
return longest

def resolve_promotions(version, categories, functions, enums, passthru):
versionpattern = re.compile("/\* OpenGL (\d).(\d) also reuses entry points from these extensions: \*/")
versionpattern = re.compile("/\* OpenGL (\d).(\d) (also )?reuses entry points from these extensions: \*/")
extensionpattern = re.compile("/\* (\w+)")

target_version = (version.major, version.minor)
Expand Down
4 changes: 4 additions & 0 deletions profiles/gl42_compatibility.txt
@@ -0,0 +1,4 @@
# This file is used as input for flextGLgen.py
# It defines the targetted OpenGL version and lists the used extensions.

version 4.2 core
4 changes: 4 additions & 0 deletions profiles/gl42_core.txt
@@ -0,0 +1,4 @@
# This file is used as input for flextGLgen.py
# It defines the targetted OpenGL version and lists the used extensions.

version 4.2 core

0 comments on commit 30fdb7f

Please sign in to comment.