summaryrefslogtreecommitdiff
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-09-09 18:59:49 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-09-09 19:02:55 -0400
commit042a333028eba49f21b45cafaf9dd15d34c68033 (patch)
tree0827f533c2a7e53d0b80fe1261e5b1ca028fee5f /src/mesa/main/debug.c
parent1f3c7d968c4313dbb71bc93306556cc9292d06ef (diff)
Revert "glapi: Implement optional dispatch logging"
This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index e5c313304d..526145aecc 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -201,8 +201,7 @@ static void add_debug_flags( const char *debug )
{ "lighting", VERBOSE_LIGHTING },
{ "disassem", VERBOSE_DISASSEM },
{ "draw", VERBOSE_DRAW },
- { "swap", VERBOSE_SWAPBUFFERS },
- { "dispatch", VERBOSE_DISPATCH }
+ { "swap", VERBOSE_SWAPBUFFERS }
};
GLuint i;
@@ -212,9 +211,6 @@ static void add_debug_flags( const char *debug )
MESA_VERBOSE |= debug_opt[i].flag;
}
- if ((MESA_VERBOSE & VERBOSE_DISPATCH) && !_glapi_logging_available())
- _mesa_debug(NULL, "dispatch logging not available in this buidl\n");
-
/* Debug flag:
*/
if (strstr(debug, "flush"))