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 +}