I'm writing a 3d modelling/animation package and although I'm not writing a native port for linux I test the software with Wine for compatibility. I've recently wrote the OpenGL initialization code and noticed that when primitives are drawn, their actually drawn undernieth the rendering window.
I'm running the latest (May 8) build of Wine with Red Hat 8/Gnome (both stock versions). When I call CreateWindow I use the static control as for the rendering window itself. Can you guys give me any tips on getting this working so all the data is rendered in the rendering window as opposed to the main program window.
Thanks!
Chris
President/Programmer Vicious Software "Our Software Bytes!"(c)
I'm writing a 3d modelling/animation package and although I'm not writing a native port for linux I test the software with Wine for compatibility. I've recently wrote the OpenGL initialization code and noticed that when primitives are drawn, their actually drawn undernieth the rendering window.
How do you get the DC that you use to draw your GL stuff on ?
As far as I know, you have the same issue the NWN Model Viewers / Editors have (search on wine-devel on a thread on this issue where I explain exactly where the problem comes for).
It's not fixed as of yet although a patch fixing this has been sent recently (I still need to look at it though :-/ ).
Lionel