util: add missing DRI_CONF_OPT_END
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 20 Jun 2019 11:13:06 +0000 (13:13 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 20 Jun 2019 12:11:30 +0000 (14:11 +0200)
When DRI_CONF_GLES_EMULATE_BGRA was added for the virgl driver, it
missed a DRI_CONF_OPT_END.

This make some drivers, like v4c/v3d to crash with the following
error:
Fatal error in __driConfigOptions line 99, column 2: mismatched tag.

Not sure why it doesn't fail with virgl.

Fixes: b79366344929c6e477c64a63f246c6db0766a71c
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/util/xmlpool/t_options.h

index 43f397b..e1bfba6 100644 (file)
@@ -361,6 +361,7 @@ DRI_CONF_OPT_END
 #define DRI_CONF_V3D_NONMSAA_TEXTURE_SIZE_LIMIT(def) \
 DRI_CONF_OPT_BEGIN_B(v3d_nonmsaa_texture_size_limit, def) \
         DRI_CONF_DESC(en,"Report the non-MSAA-only texture size limit") \
+DRI_CONF_OPT_END
 /**
  * \brief virgl specific configuration options
  */