I am doing a project, and i am helping another person with the coding. He uses a Unix but i have a Windows XP. On one of his versions he has an older version of the program and his program worked fine. on another computer he had a system update and we found out that there might be a problem with glXChooseVisual(display, DefaultScreen(display), attributeList){...}. If that is the case, could somebody help me and maybe give me some suggestions on what i could do. Thank you.

Also, if somebody might know how to move the program from Unix to a Windows, that too would be helpfull. I am using Microsoft Visual C++ to compile the OpenGL on. Thanx.

mikael_aronsson

08-03-2004, 08:06 AM

Hi !

If you are using xlib and glx for the OpenGL application there might some work involved in converting it to Win32, the xlib must be converted to win32 api, this is the messy part because there is a lot of differences, the xlib to wgl translation si no big deal, almost all the glx functions has similair functions as wgl...

But the question is if xlib is used or some other library on top of this ?