View Full Version : Grab Screen Resolution in UBuntu using c++

November 6th, 2007, 04:11 PM
I am trying to get the screen resolution using c++ in ubuntu. I was wondering if there is an api i can use to get screen resolution and the monitor information (in case of dual monitor). Basically I want to render a scene using openGL in full screen and want to grab the screen resolution of the monitor i want to render the scene in.

November 6th, 2007, 04:45 PM
i know nothing of OpenGL programming, but doesn't OpenGL have a way to grab the resolution??

did you google it yet??