2010/12/30 Darius Blaszyk <dhkblas...@zeelandnet.nl>: > Though I understand the error, I do not know if there is a way to circumvent > this? I guess: In the callback you have to get the current window id using glutGetWindow, then dispatch the call to the right object instance using that id via some kind of mapping from window ids to instances.
cf: "Before the callback, the current window is set to the window needing to be redisplayed...", src: http://www.opengl.org/resources/libraries/glut/spec3/node46.html -- bflm freepascal-bits.blogspot.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal