diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/glamo/glamo_screen.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_screen.c b/src/mesa/drivers/dri/glamo/glamo_screen.c index c8ecb37868..b136d82ed5 100644 --- a/src/mesa/drivers/dri/glamo/glamo_screen.c +++ b/src/mesa/drivers/dri/glamo/glamo_screen.c @@ -79,6 +79,7 @@ static const __DRIconfig **glamoInitScreen(__DRIscreenPrivate *sPriv) __DRIconfig **configs; uint8_t depth_bits_array[2]; uint8_t stencil_bits_array[2]; + uint8_t msaa_samples_array[1]; static const GLenum db_modes[] = { GLX_SWAP_COPY_OML, GLX_NONE }; printf("glamoInitScreen!\n"); @@ -99,10 +100,11 @@ static const __DRIconfig **glamoInitScreen(__DRIscreenPrivate *sPriv) stencil_bits_array[0] = 0; depth_bits_array[1] = 16; stencil_bits_array[1] = 0; + msaa_samples_array[0] = 0; configs = driCreateConfigs(GL_RGB, GL_UNSIGNED_SHORT_5_6_5, depth_bits_array, stencil_bits_array, 2, - db_modes, 2); + db_modes, 2, msaa_samples_array, 1); if ( configs == NULL ) { fprintf(stderr, "[%s:%u] Error creating FBConfig!\n", __func__, __LINE__); @@ -118,6 +120,7 @@ static const __DRIconfig **glamoInitScreen2(__DRIscreenPrivate *sPriv) __DRIconfig **configs; uint8_t depth_bits_array[2]; uint8_t stencil_bits_array[2]; + uint8_t msaa_samples_array[1]; static const GLenum db_modes[] = { GLX_SWAP_COPY_OML, GLX_NONE }; printf("glamoInitScreen2!\n"); @@ -138,10 +141,11 @@ static const __DRIconfig **glamoInitScreen2(__DRIscreenPrivate *sPriv) stencil_bits_array[0] = 0; depth_bits_array[1] = 16; stencil_bits_array[1] = 0; + msaa_samples_array[0] = 0; configs = driCreateConfigs(GL_RGB, GL_UNSIGNED_SHORT_5_6_5, depth_bits_array, stencil_bits_array, 2, - db_modes, 2); + db_modes, 2, msaa_samples_array, 1); if ( configs == NULL ) { fprintf(stderr, "[%s:%u] Error creating FBConfig!\n", __func__, __LINE__); |