PyOpenGL issues (glutGetModifiers())

  • Thread starter =?ISO-8859-1?Q?Timo_Finnil=E4?=
  • Start date
?

=?ISO-8859-1?Q?Timo_Finnil=E4?=

Hi,

I'm having some weird issues with Python 2.4 and PyOpenGL 2.0.2.01 (and
also with older versions).

When I call glutGetModifiers from event handler functions (set using
glutMouseFunc, glutMotionFunc etc...), it just says:

"GLUT: Warning in foo: glutCurrentModifiers: do not call outside core
input callback."

And the return value is always zero.

This problem appeared once I installed PyOpenGL 2.0.2.01. Some older
version did work fine otherwise, but crashed if CTRL was pressed during
a mouse event. And oh, everything worked just fine with Python 2.3 and
some older version of PyOpenGL.

I've already run out of ideas, so any help would be greatly appreciated.

Thanks.

--timof
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,222
Messages
2,571,138
Members
47,755
Latest member
Grazynkaa

Latest Threads

Top