summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r--src/glx/dri_common.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
index ed0b134..5096c1f 100644
--- a/src/glx/dri_common.c
+++ b/src/glx/dri_common.c
@@ -48,6 +48,10 @@
#define RTLD_GLOBAL 0
#endif
+/**
+ * Print informational message to stderr if LIBGL_DEBUG is set to
+ * "verbose".
+ */
_X_HIDDEN void
InfoMessageF(const char *f, ...)
{
@@ -63,7 +67,8 @@ InfoMessageF(const char *f, ...)
}
/**
- * Print error to stderr, unless LIBGL_DEBUG=="quiet".
+ * Print error message to stderr if LIBGL_DEBUG is set to anything but
+ * "quiet", (do nothing if LIBGL_DEBUG is unset).
*/
_X_HIDDEN void
ErrorMessageF(const char *f, ...)