Advertisement

Get a list of the available video modes

Started by September 29, 2005 09:01 AM
2 comments, last by BTierens 18 years, 11 months ago
Hi, How can I get a list of the available video modes with xlib or glx? Thanks in advance
Xrandr?

Also, this is probably unhelpful but have you considered using SDL?
Advertisement
Thanks for your reply. As I'm programming in Pascal, I'll have to translate the Xrandr header. It seems strange to me that the header does not address an external library but I'll ask more about it on a pascal forum.

I'm currently using SDL to set up an OpenGL window but as I prefer not to use a libary of wich I need only a few functions, I'm writing a small implementation of the SDL OpenGL functionality. The only function i need to implement is SDL_ListModes.
It works now. Thank you very much.

This topic is closed to new replies.

Advertisement