So after (def OpenGL GL11):

user=> (.GL_QUADS GL11)
7
user=> (.GL_QUADS OpenGL)
java.lang.IllegalArgumentException: No matching field found: GL_QUADS
for class clojure.lang.Symbol (NO_SOURCE_FILE:0)

Using (def OpenGL 'GL11) doesn't work either, and using (defmacro
OpenGL [] 'GL11) means I have to (. GL_QUADS (OpenGL)) Rather than (.
GL_QUADS OpenGL)

GL11 is a static class, and OpenGL and GL11 both output
#=org.lwjgl.opengl.GL11

So what's the deal?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to