diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-10-12 15:35:39 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-10-12 15:35:39 -0600 |
commit | 4809142acce5ed66579184dca4fa6e4cdb7bfeed (patch) | |
tree | c48e2fd8fa59459236ccc899c24293207afbf06f /indra/llrender/llgl.h | |
parent | d65e512fa3a0e7bc7f1c269d2c8d2e1c38c4e970 (diff) |
add a debug function to output gl error information to the log file without crashing the viewer.
No need to test because there are no negative effects.
Diffstat (limited to 'indra/llrender/llgl.h')
-rw-r--r-- | indra/llrender/llgl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h index 5e8965c06a..de63d37480 100644 --- a/indra/llrender/llgl.h +++ b/indra/llrender/llgl.h @@ -157,6 +157,7 @@ void rotate_quat(LLQuaternion& rotation); void flush_glerror(); // Flush GL errors when we know we're handling them correctly. +void log_glerror(); void assert_glerror(); void clear_glerror(); |