summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/errors.c
diff options
context:
space:
mode:
authornobled <nobled@dreamwidth.org>2011-05-02 17:43:38 +0000
committerMarek Olšák <maraeo@gmail.com>2012-03-10 21:42:05 +0100
commit76414cded8dcfc274fe47f347c64986680e8b95a (patch)
tree1c18f4cfef06e9c0eb89419367d90f077dd03988 /src/mesa/main/errors.c
parent5dd750d685d3f80b3783b1205f6727cb867c049a (diff)
downloadexternal_mesa3d-76414cded8dcfc274fe47f347c64986680e8b95a.zip
external_mesa3d-76414cded8dcfc274fe47f347c64986680e8b95a.tar.gz
external_mesa3d-76414cded8dcfc274fe47f347c64986680e8b95a.tar.bz2
mesa: add message-toggle booleans for GL_ARB_debug_output
Diffstat (limited to 'src/mesa/main/errors.c')
-rw-r--r--src/mesa/main/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c
index e43b31f..ed94841 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;
}