Now, I am busing planting a program from Linux to Windows. The C program under Linux using Glut to display windows, which are clean and clear. When planting them to windows, I have to fix different funcs to MFC. After using the initial method in windows, such as wglGetCurrentContext() and etc. The program finally can run.
However, the program display apparently different under these platform. And In windows, it cannot display right. I think it might be the problem of gldrawpixels(); But I have not found how to fix it.
Later I will post the pics. In fact I have not find the post picture func in this kind of forum.
by ‘planting’ you mean ‘porting’ right ?
for pictures, use the ‘image’ button, below Instant UBB code. The pic must already be hosted somewhere on internet.
Planting, I mean, migrating code from linux to windows, which I didnot think it needs to start from scratch again.
BTW, the IMAGE UBB code requires url, but my pics are in my harddisk.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.