Some API work arrounds.

Everything else that doesn't fall into one of the other PB categories.
Akuma no Houkon
User
User
Posts: 77
Joined: Sun Nov 02, 2003 1:47 pm
Location: Washington
Contact:

Some API work arrounds.

Post 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.
AMD 2600+, nVidia Geforce FX 5200 128 MB DDR, 512 DDR, RedHat 9
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post 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
Akuma no Houkon
User
User
Posts: 77
Joined: Sun Nov 02, 2003 1:47 pm
Location: Washington
Contact:

Post 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.
AMD 2600+, nVidia Geforce FX 5200 128 MB DDR, 512 DDR, RedHat 9
Post Reply