[Plib-users] Errors using PW
Brought to you by:
sjbaker
From: Tinoshi K. <ti...@li...> - 2005-09-19 16:39:34
|
Hello everybody! I have got a big problem with PW. Well, when I use PW my program crashes = whenever I call something like glOrtho(), or glVertex() etc... The = debugger says it's due to an access violation. I guess it is 'cause I = created my windows using pwInit() and OpenGL doesn't know what is the = 'current' window (i.e. says 'this' is NULL).=20 What can I do? I want to use pwInit() instead of glutMainLoop() etc. = 'cause I need a keyboard function who can deal with multiple pressed and = released keys.=20 It is not a 'coding' problem because using the 'glut approach' = (glutMainLoop etc... and callbacks) everything works great! Thanks! |