Skip to main content
gamedev.net
🔒 Locked

WGL's

Started by Drakon 10 replies 500+ views
Original Post
Drakon
Drakon
What exactly are WGL''s and what do they do?
"Go for the eyes, Boo, go for the eyes!"
Floppy
Floppy
There are quite a few wgl functions; you can find them all at this MSDN website.

Good luck!
Drakon
Drakon
Well what are they needed for?
"Go for the eyes, Boo, go for the eyes!"
Shag
Shag
WGL is nothing more than a wrapper for the OS specific functionality for OpenGL. You can replace WGL, for example, to XGL to make the same stuff work under UNIX! WGL isn''t a bad thing - it just hides OS specific functionality from the developer.
Null and Void
Null and Void
quote:
Original post by Shag
WGL is nothing more than a wrapper for the OS specific functionality for OpenGL. You can replace WGL, for example, to XGL to make the same stuff work under UNIX! WGL isn''t a bad thing - it just hides OS specific functionality from the developer.

1. There is no XGL. There is a GLX though.
2. Some of the functions you may be able to do that with, but not a lot. GLX has a lot that WGL doesn''t, and vice versa.

[Resist Windows XP''s Invasive Production Activation Technology!]
Shag
Shag
OK ... my mistake! lol ... Not being a UNIX programmer I was guessing!

GLX can be used instead og WGL in many circumstances ... I agree that they''re not totally interchangable, but the general idea was right! And this brings me on to my next point - it''s about time that the ARB standardized these functions!
abdulla
abdulla
SDL needs better documentation
Shag
Shag
Just my opinion ...

I''d personally rather not use any 3rd party libraries. I conceed that they have a valid use, but to my mind they maybe block progress, rather than help it. In this I mean that sometimes it''s better to think for yourself and solve a problem, rather than rely on someone else doing it for you!

I''m a VB database programmer. My C/C++ isn''t that hot, but I want to learn - which is why i''d much prefer to do things my own way, i.e. learn from my own mistakes.

This is a personal opinion which probably doesn''t apply to many others in here, but it does to me!!!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.