summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
authoruser <email>2017-12-14 11:51:17 +0100
committeruser <email>2017-12-14 11:51:17 +0100
commit217917530b12c7332fb83381aef6acf9975e7361 (patch)
tree8b0eb96e3b71751a1e7e0a6da66182bf53ffac9c /src/rlgl.c
parent48d0c93ace63225231d56f6a7aaa058218622578 (diff)
downloadraylib-217917530b12c7332fb83381aef6acf9975e7361.tar.gz
raylib-217917530b12c7332fb83381aef6acf9975e7361.zip
fix for eventmarker missed in first cl
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 7ec4c4ac..713646ac 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -4226,3 +4226,8 @@ void TraceLog(int msgType, const char *text, ...)
if (msgType == LOG_ERROR) exit(1);
}
#endif
+
+void rlSetMarker(const char *text) {
+ if(debugMarkerSupported)
+ glInsertEventMarkerEXT(0, text); //0 terminated string
+}