Skip to content
  • Jeff Baumes's avatar
    Adding multisampling support to Windows · 5dfe0f6c
    Jeff Baumes authored
    Following a 2-pass approach for using the newer
    wglChoosePixelFormat API. First we make a dummy window
    in order to have a context. Then we try to use
    wglChoosePixelFormat and delete the dummy window.
    If a suitable pixel format is not found, revert back
    to the older approach of using the GDI ChoosePixelFormat.
    
    Change-Id: Ia366445f4e7192b5045bcf430c5493b7a187ded6
    5dfe0f6c