Page 1 of 1

Some API work arrounds.

Posted: Thu Nov 06, 2003 6:24 pm
by Akuma no Houkon
I need to find a way to accomplish the same task that the following API do, WITHOUT API. I need to use these functions in linux to inialize OpenGL and I am lost about how to go about doing that.

ChoosePixelFormat
SetPixelFormat
GetDC

If anyone knows of another way to do this it would be extreemly appreicated. Or if anyone knows of a linux API that would do this.

Posted: Thu Nov 06, 2003 9:49 pm
by dmoc
Should find examples at http://nehe.gamedev.net/

In case it is not obvious where, follow this link and scroll down to very bottom. You will find a list of examples for various platforms...

http://nehe.gamedev.net/data/lessons/le ... ?lesson=01

Posted: Thu Nov 06, 2003 9:56 pm
by Akuma no Houkon
Yes I know but I cant make hide nor hair of the Linux/Unix ones none of them work how I am used to the only window function I can see calls a bunch of cryptic X11 functions to which I have no header to know the functions delcares or how to use them in PB. There is the C++ header for a few things but C++ is chinese to me.