From 76414cded8dcfc274fe47f347c64986680e8b95a Mon Sep 17 00:00:00 2001 From: nobled Date: Mon, 2 May 2011 17:43:38 +0000 Subject: mesa: add message-toggle booleans for GL_ARB_debug_output --- src/mesa/main/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/errors.c') diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index e43b31fcbf8..ed94841d04a 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -88,7 +88,7 @@ _mesa_log_msg(struct gl_context *ctx, GLenum source, GLenum type, emptySlot->length = strlen(out_of_memory)+1; emptySlot->source = GL_DEBUG_SOURCE_OTHER_ARB; emptySlot->type = GL_DEBUG_TYPE_ERROR_ARB; - emptySlot->id = 1; /* TODO: proper id namespace */ + emptySlot->id = OTHER_ERROR_OUT_OF_MEMORY; emptySlot->severity = GL_DEBUG_SEVERITY_HIGH_ARB; } -- cgit v1.2.3