summaryrefslogtreecommitdiff
path: root/retrace/glstate_internal.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-04-16 20:09:42 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-04-16 20:09:42 +0100
commit7ec9050b3b96f7a6c663361c7d8000eef5418667 (patch)
tree3080bca933499d54af86e61326a2976eda9e81cd /retrace/glstate_internal.hpp
parent851bbaf879fcd8b1b73777834b069b026f52346f (diff)
Dump GLboolean as enum.
More readable.
Diffstat (limited to 'retrace/glstate_internal.hpp')
-rw-r--r--retrace/glstate_internal.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/retrace/glstate_internal.hpp b/retrace/glstate_internal.hpp
index aab7f986..a709da3b 100644
--- a/retrace/glstate_internal.hpp
+++ b/retrace/glstate_internal.hpp
@@ -54,6 +54,8 @@ struct Context
};
+void dumpBoolean(JSONWriter &json, GLboolean value);
+
void dumpEnum(JSONWriter &json, GLenum pname);
void dumpParameters(JSONWriter &json, Context &context);