View Full Version : openGL with GLX
for some reason, my company use openGL with GLX on linux and with WGL under windows.
I can't find any tutorial on how to code openGL with GLX, everything I can found is GL+ GLUT,
I wonder if anybody knows where I can found a GL+GLX tutorial.
06-16-2005, 09:37 AM
Your company does that because that's exactly the right thing to do, those are the equivalent interface APIs provided on those platforms. The only alternative is to abstract that away beneath a library someone else wrote to hide the platform specific details and that can have disadvantages.
You should probably get this book:
"OpenGL: Programming For The X Window System"
by Mark J. Kilgard
It's a bit dated now but it will give you what you need. The most significant omission will probably be glXGetProcAddress, but you know about that now that I've told you :-).
06-16-2005, 11:41 PM
glx sample (http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=4;t=001436) at the middle of the page
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.