From 217917530b12c7332fb83381aef6acf9975e7361 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 14 Dec 2017 11:51:17 +0100 Subject: [PATCH] fix for eventmarker missed in first cl --- src/rlgl.c | 5 +++++ 1 file changed, 5 insertions(+) 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 +}