http://bugs.winehq.org/show_bug.cgi?id=4927 Summary: Implement glut using wgl and not the native glut library. Product: Wine Version: unspecified Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs(a)winehq.org ReportedBy: tom(a)dbservice.com The Nvidia SDK demos use glut to create the window but later on they use wgl functions, such as wglGetCurrentDC(), which will return NULL because the DC hasn't been created using wgl and thus wgl doesn't know anything about a current DC. The only solution here is to use wgl to implement glut. And the easiest way would be to take an existing win32 glut implementation. I wasn't able to figure out under which license win32 glut has been released, and I've heard unless it's LGPL it can't be copied over to the wine source tree. And I've also heard that someone is working on a glx -> wgl transition. What is the way to go? I don't think it will be fun to reinvent the wheel and re-implement glut. (this is filed under wine-x11driver because there is no wine-opengl component listed) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.