Browse Source

use WGL_SAMPLE_BUFFERS_ARB

David Rose 21 years ago
parent
commit
46c268f69d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/wgldisplay/wglGraphicsPipe.cxx

+ 2 - 0
panda/src/wgldisplay/wglGraphicsPipe.cxx

@@ -354,6 +354,8 @@ choose_pfnum_advanced(const FrameBufferProperties &properties,
   }
 
   if (frame_buffer_mode & FrameBufferProperties::FM_multisample) {
+    iattrib_list[ni++] = WGL_SAMPLE_BUFFERS_ARB;
+    iattrib_list[ni++] = 1;
     iattrib_list[ni++] = WGL_SAMPLES_ARB;
     iattrib_list[ni++] = want_multisample_bits;
   }