i915simple: Use defined MSAA array
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 19 Sep 2008 13:25:29 +0000 (15:25 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 19 Sep 2008 13:29:08 +0000 (15:29 +0200)
src/gallium/winsys/drm/intel/dri/intel_screen.c

index 113f62f03ad138795a4d467163faea8f774e7b08..78b9a6db05c2dc8e3a8284c9c15da862fdab6521 100644 (file)
@@ -563,7 +563,7 @@ intelFillInModes(__DRIscreenPrivate *psp,
    configs = driCreateConfigs(fb_format, fb_type,
                              depth_bits_array, stencil_bits_array,
                              depth_buffer_factor, back_buffer_modes,
-                             back_buffer_factor, NULL, 0);
+                             back_buffer_factor, msaa_samples_array, 1);
    if (configs == NULL) {
     fprintf(stderr, "[%s:%u] Error creating FBConfig!\n", __func__,
               __LINE__);