Skip to content

Commit f152382

Browse files
committed
document glpSetAutoCheckErrors - fix #44
1 parent da61210 commit f152382

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/OpenGL/Modern.pm

+4
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ You can prepend two use lines, and get this:
126126
127127
None by default.
128128
129+
=head1 DEBUGGING
129130
131+
In development, you can call C<glpSetAutoCheckErrors(1)> which will have
132+
each OpenGL function automatically call C<glGetErrors()> and report any
133+
found. This is off by default for performance reasons.
130134
131135
=head1 SEE ALSO
132136

0 commit comments

Comments
 (0)