mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
use WGL_SAMPLE_BUFFERS_ARB
This commit is contained in:
parent
943f213dbb
commit
46c268f69d
@ -354,6 +354,8 @@ choose_pfnum_advanced(const FrameBufferProperties &properties,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (frame_buffer_mode & FrameBufferProperties::FM_multisample) {
|
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++] = WGL_SAMPLES_ARB;
|
||||||
iattrib_list[ni++] = want_multisample_bits;
|
iattrib_list[ni++] = want_multisample_bits;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user