From 46c268f69ddf943836e07604d254ae0bd10f6cc0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 30 Dec 2004 01:33:18 +0000 Subject: [PATCH] use WGL_SAMPLE_BUFFERS_ARB --- panda/src/wgldisplay/wglGraphicsPipe.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/wgldisplay/wglGraphicsPipe.cxx b/panda/src/wgldisplay/wglGraphicsPipe.cxx index 064ad81d32..5abc465cd3 100644 --- a/panda/src/wgldisplay/wglGraphicsPipe.cxx +++ b/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; }