[PyOpenGL-Users] I found glutKeyboardUpFunc
Brought to you by:
mcfletch
From: <sn...@so...> - 2004-11-06 00:12:35
|
I found the problem: freeglut doesn't define GLUT_XLIB_IMPLEMENTATION, at all: /* * The freeglut and GLUT API versions */ #define FREEGLUT 1 #define GLUT_API_VERSION 4 #define FREEGLUT_VERSION_2_0 1 I've tried to to track through PyOpenGL's code to see where I could insert an or statement that would allow for compilation with freeglut, but I can't seem to find the exact spot - so I took the easy way out and added the line #define GLUT_XLIB_IMPLEMENTATION 13 to freeglut_std.h (from which the above code comes), recompiled PyOpenGL, and everything works fine. I'm kinda new to this whole scene, is this a freeglut bug or a pyopengl bug? or is it not a bug it all, and should I email someone about it? Thanks for all your help. Amos Joshua |