Thread: Video initialization

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    207

    Video initialization

    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?

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    Quote Originally Posted by Lionmane
    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.

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    207
    Thanks!

    mw

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem With My Box
    By HaVoX in forum Tech Board
    Replies: 9
    Last Post: 10-15-2005, 07:38 AM
  2. video convert..."hack" on a genesis
    By Shadow in forum Tech Board
    Replies: 3
    Last Post: 12-06-2003, 01:30 PM
  3. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM