dri: Fix copy-and-paste brain damage in previous commit
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 10 Feb 2010 19:43:02 +0000 (11:43 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 10 Feb 2010 19:43:02 +0000 (11:43 -0800)
A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use
TRUE instead of GL_TRUE.  This causes build failures in all of the
drivers that I don't typically build.  Win.

Reported by sungami on IRC.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i810/i810screen.c
src/mesa/drivers/dri/mga/mga_xmesa.c
src/mesa/drivers/dri/r128/r128_screen.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/savage/savage_xmesa.c
src/mesa/drivers/dri/sis/sis_screen.c
src/mesa/drivers/dri/unichrome/via_screen.c

index 825a1b5fbe4c682d3a9f9a8f7dc4bc509884164b..1c4deef319f1c487d7bee1877a3447f8ef0ea214 100644 (file)
@@ -92,7 +92,7 @@ i810FillInModes( __DRIscreen *psp,
                               depth_bits_array, stencil_bits_array,
                               depth_buffer_factor,
                               back_buffer_modes, back_buffer_factor,
-                               msaa_samples_array, 1, TRUE);
+                               msaa_samples_array, 1, GL_TRUE);
     if (configs == NULL) {
        fprintf( stderr, "[%s:%u] Error creating FBConfig!\n",
                 __func__, __LINE__ );
index a0a65cb45127ad0585f5bda7ad3380d8d3deb84f..687412bca55674938683f2fee8fa29f7e8d5887e 100644 (file)
@@ -160,7 +160,7 @@ mgaFillInModes( __DRIscreen *psp,
                               depth_bits_array, stencil_bits_array,
                               depth_buffer_factor,
                               back_buffer_modes, back_buffer_factor,
-                               msaa_samples_array, 1, TRUE);
+                               msaa_samples_array, 1, GL_TRUE);
     if (configs == NULL) {
        fprintf( stderr, "[%s:%u] Error creating FBConfig!\n",
                 __func__, __LINE__ );
index afc44d46508a9d3c2ba176946c02bf3dc7ccbecf..2d91802823650ef972af7e1ec966aed974d7f035 100644 (file)
@@ -449,7 +449,7 @@ r128FillInModes( __DRIscreen *psp,
                                depth_bits_array, stencil_bits_array,
                                depth_buffer_factor, back_buffer_modes,
                                back_buffer_factor,
-                               msaa_samples_array, 1, TRUE);
+                               msaa_samples_array, 1, GL_TRUE);
     if (configs == NULL) {
         fprintf(stderr, "[%s:%u] Error creating FBConfig!\n", __func__,
                 __LINE__);
index 7d5cdb5843f846e80f33d630cd55a2da30295238..631f729048aabc572e859b926d08d9fb5725a4a1 100644 (file)
@@ -293,18 +293,18 @@ radeonFillInModes( __DRIscreen *psp,
                                          depth_bits_array, stencil_bits_array,
                                          depth_buffer_factor, back_buffer_modes,
                                          back_buffer_factor, msaa_samples_array,
-                                         1, TRUE);
+                                         1, GL_TRUE);
        configs_a8r8g8b8 = driCreateConfigs(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV,
                                            depth_bits_array, stencil_bits_array,
                                            1, back_buffer_modes, 1,
-                                           msaa_samples_array, 1, TRUE);
+                                           msaa_samples_array, 1, GL_TRUE);
        configs = driConcatConfigs(configs_r5g6b5, configs_a8r8g8b8);
    } else
        configs = driCreateConfigs(GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV,
                                   depth_bits_array, stencil_bits_array,
                                   depth_buffer_factor,
                                   back_buffer_modes, back_buffer_factor,
-                                  msaa_samples_array, 1, TRUE);
+                                  msaa_samples_array, 1, GL_TRUE);
 
     if (configs == NULL) {
        fprintf( stderr, "[%s:%u] Error creating FBConfig!\n",
index 788c49fdbe8f24b932746ca888d7fabbb73b7dae..74a001b78987adfc3a7dcd500e7215d2ef7e1d0e 100644 (file)
@@ -939,7 +939,7 @@ savageFillInModes( __DRIscreen *psp,
                               depth_bits_array, stencil_bits_array,
                               depth_buffer_factor,
                               back_buffer_modes, back_buffer_factor,
-                               msaa_samples_array, 1, TRUE);
+                               msaa_samples_array, 1, GL_TRUE);
     if (configs == NULL) {
        fprintf( stderr, "[%s:%u] Error creating FBConfig!\n",
                 __func__, __LINE__ );
index 0b98541732298ddd7a715863b88af0dc7e8b2e6e..80fb455ec757b337b47598542880be475d361654 100644 (file)
@@ -103,7 +103,7 @@ sisFillInModes(__DRIscreen *psp, int bpp)
    configs = driCreateConfigs(fb_format, fb_type, depth_bits_array,
                              stencil_bits_array, depth_buffer_factor,
                              back_buffer_modes, back_buffer_factor,
-                              msaa_samples_array, 1, TRUE);
+                              msaa_samples_array, 1, GL_TRUE);
    if (configs == NULL) {
       fprintf(stderr, "[%s:%u] Error creating FBConfig!\n", __func__, __LINE__);
       return NULL;
index 55125018cc2659625a510563433edf21913a1313..ee10b569bf1d8407b1240b06480c727f4d238ce5 100644 (file)
@@ -354,7 +354,7 @@ viaFillInModes( __DRIscreen *psp,
                               depth_bits_array, stencil_bits_array,
                               depth_buffer_factor, back_buffer_modes,
                               back_buffer_factor,
-                               msaa_samples_array, 1, TRUE);
+                               msaa_samples_array, 1, GL_TRUE);
     if (configs == NULL) {
        fprintf(stderr, "[%s:%u] Error creating FBConfig!\n", __func__,
                __LINE__);