Hi Folks

I am trying to use OpenSG 2.0 with MFC but device creation is fail, I tried 
to debug it and found wglMakeCurrent function is failed to set current 
context. I know basics of OpenGL for device creations.  I had also changed 
style of dialog with adding CS_OWNDC in style.

If i removing ReleaseDC from library then device creation is fine. Basically 
it only work once when wglCreateContext called.

Any idea why ?



 


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to