summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.c')
-rw-r--r--src/mesa/drivers/dri/common/utils.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c
index 1246bec6e02..ae8fcabc14e 100644
--- a/src/mesa/drivers/dri/common/utils.c
+++ b/src/mesa/drivers/dri/common/utils.c
@@ -41,36 +41,6 @@
#include "utils.h"
#include "dri_util.h"
-
-uint64_t
-driParseDebugString(const char *debug,
- const struct dri_debug_control *control)
-{
- uint64_t flag = 0;
-
- if (debug != NULL) {
- for (; control->string != NULL; control++) {
- if (!strcmp(debug, "all")) {
- flag |= control->flag;
-
- } else {
- const char *s = debug;
- unsigned n;
-
- for (; n = strcspn(s, ", "), *s; s += MAX2(1, n)) {
- if (strlen(control->string) == n &&
- !strncmp(control->string, s, n))
- flag |= control->flag;
- }
- }
- }
- }
-
- return flag;
-}
-
-
-
/**
* Create the \c GL_RENDERER string for DRI drivers.
*