1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glPopDebugGroup">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>glPopDebugGroup
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glPopDebugGroup
</refname>
17 <refpurpose>pop the active debug group
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glPopDebugGroup
</function></funcdef>
23 <paramdef>void
</paramdef>
27 <refsect1 id=
"description"><title>Description
</title>
29 <function>glPopDebugGroup
</function> pops the active debug group.
30 After popping a debug group, the GL will also generate a debug
31 output message describing its cause based on the
<parameter>message
</parameter>
32 string, the source
<parameter>source
</parameter>, and an ID
<parameter>id
</parameter>
33 submitted to the corresponding
<citerefentry><refentrytitle>glPushDebugGroup
</refentrytitle></citerefentry>
34 command.
<constant>GL_DEBUG_TYPE_PUSH_GROUP
</constant> and
<constant>GL_DEBUG_TYPE_POP_GROUP
</constant>
35 share a single namespace for message
<parameter>id
</parameter>.
36 <parameter>severity
</parameter> has the value
<constant>GL_DEBUG_SEVERITY_NOTIFICATION
</constant>. The
<parameter>type
</parameter>
37 has the value
<constant>GL_DEBUG_TYPE_POP_GROUP
</constant>. Popping a debug group restores
38 the debug output volume control of the parent debug group.
41 <refsect1 id=
"errors"><title>Errors
</title>
43 <constant>GL_STACK_UNDERFLOW
</constant> is generated if an attempt is made to pop the default debug
47 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
49 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_MAX_DEBUG_MESSAGE_LENGTH
</constant>.
52 <refsect1 id=
"seealso"><title>See Also
</title>
54 <citerefentry><refentrytitle>glPushDebugGroup
</refentrytitle></citerefentry>,
55 <citerefentry><refentrytitle>glObjectLabel
</refentrytitle></citerefentry>,
56 <citerefentry><refentrytitle>glObjectPtrLabel
</refentrytitle></citerefentry>.
59 <refsect1 id=
"Copyright"><title>Copyright
</title>
61 Copyright
<trademark class=
"copyright"></trademark> 2012 Khronos Group.
62 This material may be distributed subject to the terms and conditions set forth in
63 the Open Publication License, v
1.0,
8 June
1999.
64 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.