i965/vec4: Update register coalescing test.
[mesa.git] / src / mesa / drivers / dri / common / dri_util.h
index a37a0bbbcd0d5e095c136e3a52cc9bcbe404ac35..1138bf106de8cfc7637eb7a9727272e6eed275d5 100644 (file)
@@ -174,13 +174,13 @@ struct __DRIscreenRec {
     struct {
        /* Flag to indicate that this is a DRI2 screen.  Many of the above
         * fields will not be valid or initializaed in that case. */
-       __DRIdri2LoaderExtension *loader;
-       __DRIimageLookupExtension *image;
-       __DRIuseInvalidateExtension *useInvalidate;
+       const __DRIdri2LoaderExtension *loader;
+       const __DRIimageLookupExtension *image;
+       const __DRIuseInvalidateExtension *useInvalidate;
     } dri2;
 
     struct {
-        __DRIimageLoaderExtension *loader;
+        const __DRIimageLoaderExtension *loader;
     } image;
 
     driOptionCache optionInfo;