🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Finding the desktop resolution using C++

Started by
2 comments, last by Peter_APIIT 16 years, 3 months ago
Hey all, I am writing an xwindows program that needs to determine the current desktop resolution. The current code compilation does include some glut but does not have gluts get resolution functions included so i need to get the information different. Please let me know if you have any ideas or know how to do this. Thanks in advance.
Advertisement
There's a basic example here (a couple paragraphs under "Getting Window Information").
Thanks. I will try that on monday when I am at work and able to run it on my linux box.
Nice tutorial.

This topic is closed to new replies.

Advertisement