projects
/
laserbrain_demo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01d6ef1
)
fixed crash when glDebugCallbackARB is available but glDebugCallback isn't
author
John Tsiombikas
<nuclear@mutantstargoat.com>
Wed, 23 May 2018 02:27:37 +0000
(
05:27
+0300)
committer
John Tsiombikas
<nuclear@mutantstargoat.com>
Wed, 23 May 2018 02:27:37 +0000
(
05:27
+0300)
src/opengl.c
patch
|
blob
|
history
diff --git
a/src/opengl.c
b/src/opengl.c
index
a7962c7
..
206f21c
100644
(file)
--- a/
src/opengl.c
+++ b/
src/opengl.c
@@
-21,7
+21,7
@@
int init_opengl(void)
#ifndef NDEBUG
if(glcaps.debug) {
info_log("Installing OpenGL debug callback\n");
- glDebugMessageCallback(gldebug_logger, 0);
+ glDebugMessageCallbackARB(gldebug_logger, 0);
}
#endif