🔒 Locked
WGL's
Advertisement
Original Post
All WGL functions are functions that exist only in Windows for use in OpenGL.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
All they are REQUIRED to be used for are to attach the OpenGL functions to a Window and swap the buffers. You can use them for a lot more (fonts, et cetera), but I wouldn''t suggest it.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
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!]
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!
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!
quote:
Original post by Shag
And this brings me on to my next point - it''s about time that the ARB standardized these functions!
Just use SDL, it wraps them nicely (along with just about all of the other OS specific stuff).
[Resist Windows XP''s Invasive Production Activation Technology!]
quote:
Original post by abdulla
SDL needs better documentation
I figured it out in a day or two with less documentation than they have now (they just did a large update to the SDL Doc. project). It really is easier than you''re thinking it is.
[Resist Windows XP''s Invasive Production Activation Technology!]
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!!!
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.
Advertisement