diff options
author | Sven Gothel <[email protected]> | 2009-08-05 09:57:37 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-08-05 09:57:37 -0700 |
commit | 814050670c7b523d0cdd049c89abf657a230c866 (patch) | |
tree | 8a09e6b316d3b9842c2418437acfe62bc331bce1 /src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java | |
parent | 55cf5a4f224c87542b65d820b851f66d371c4062 (diff) |
Fix: Allow all constanst defined by enums; Add PFD_ defines.
Diffstat (limited to 'src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java')
-rw-r--r-- | src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java b/src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java index 0ede95e..a31a987 100644 --- a/src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java +++ b/src/java/com/sun/gluegen/opengl/BuildStaticGLInfo.java @@ -100,7 +100,7 @@ public class BuildStaticGLInfo protected static int defineIdentifierGroup = 1; protected static Pattern definePattern = - Pattern.compile("\\#define ([CEW]?GL[XU]?_[A-Za-z0-9_]+)\\s*([A-Za-z0-9_]+)\\s*"); + Pattern.compile("\\#define (([CEW]?GL[XU]?|PFD)_[A-Za-z0-9_]+)\\s*([A-Za-z0-9_]+)\\s*"); // Maps function / #define names to the names of the extensions they're declared in protected Map declarationToExtensionMap = new HashMap(); |