Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: DEVMODE::dmBitsPerPel

  1. #1
    Intern Newbie
    Join Date
    Nov 2001
    Location
    The netherlands
    Posts
    46

    DEVMODE::dmBitsPerPel

    should DEVMODE::dmBitsPerPel be set the the number of color bits or the number of depth bits or color bits+depth bits

    DEVMODE is used in ChangeDisplaySettings

  2. #2
    Intern Contributor
    Join Date
    Sep 2002
    Location
    london, uk
    Posts
    64

    Re: DEVMODE::dmBitsPerPel

    devmode is not related to opengl in any way, it's a win32 struct, so it'll be colour bit depth (one of 8, 16, 24, 32). pixelformatdescriptor is the struct you need to specify opengl colour/z/stencil bit depths...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •