Results 1 to 8 of 8

Thread: Fullscreen Rendering

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    14

    Fullscreen Rendering

    Does anyone know how to get OpenGL in Win32 to use Fullscreen mode
    thanks
    porter

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2000
    Posts
    569

    Re: Fullscreen Rendering

    you have to use changedisplaysettings(&devmode, CDS_FULLSCREEN).

    devmode is a structure for resolution. If you don't have window platform sdk look at it at www.msdn.com under library

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    14

    Re: Fullscreen Rendering

    Ok i sorta got that to work except that now the screen flashes black then just goes to the normal window. i have the documentation but i could not find the problem to fix it
    thanks for you help
    porter

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Fullscreen Rendering

    Visit NeHe's tutorials at http://nehe.gamedev.net/ . Most examples have code for Win32 fullscreen.

  5. #5
    Member Contributor
    Join Date
    Apr 2000
    Location
    Austria
    Posts
    57

    Re: Fullscreen Rendering

    i can't figure out how to go fullscreen in an MFC-application,it nearly has to be the same,but because MFC hides so much window-stuff,i had problems there..

  6. #6
    Senior Member Frequent Contributor
    Join Date
    Feb 2000
    Posts
    569

    Re: Fullscreen Rendering

    crappy, the flashing and going back to the window is probably due because you ask for an unsupported resolution.

  7. #7
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Location
    Stockholm, Sweden
    Posts
    2,342

    Re: Fullscreen Rendering

    It might also be that your window is not the size of the resolution to which you try to change. You should also make your window without borders.

  8. #8
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    14

    Re: Fullscreen Rendering

    thanks i got it working now

Similar Threads

  1. Bitmap Text Rendering Trouble in Fullscreen
    By imported_Cinolt in forum OpenGL: Windows
    Replies: 0
    Last Post: 04-03-2010, 09:33 PM
  2. alt tab with fullscreen fix
    By VictorG in forum OpenGL: Windows
    Replies: 1
    Last Post: 06-05-2005, 12:26 PM
  3. Issue with rendering on GF2, GF3 in fullscreen mode only
    By imported_Optimizer in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 01-22-2004, 11:20 AM
  4. FullScreen ?
    By Tof in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-30-2002, 02:44 AM
  5. Fullscreen rendering
    By link19 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-29-2001, 08:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean