I'm using the C language & OpenGL as my graphics library.
I want to detect the graphics card & monitor of the computer being used to run my program so that my program will automatically adjust.
Is it easier (possible?) to do this with C or OpenGL?
I'm using the C language & OpenGL as my graphics library.
I want to detect the graphics card & monitor of the computer being used to run my program so that my program will automatically adjust.
Is it easier (possible?) to do this with C or OpenGL?
The c language contains no functions for doing this so you will have to use an API to do this. Either use the API provided by the operating system or use OpenGL, I would recomend using OpenGl since you're using that API anyway. I don't know the name of the OpenGl function to do this but it shouldn't be to hard to find.Originally Posted by Lionmane
Thanks!
mw