Browse Source

fix for eventmarker missed in first cl

user 7 years ago
parent
commit
217917530b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/rlgl.c

+ 5 - 0
src/rlgl.c

@@ -4226,3 +4226,8 @@ void TraceLog(int msgType, const char *text, ...)
     if (msgType == LOG_ERROR) exit(1);
     if (msgType == LOG_ERROR) exit(1);
 }
 }
 #endif
 #endif
+
+void rlSetMarker(const char *text) {
+    if(debugMarkerSupported)
+        glInsertEventMarkerEXT(0, text);            //0 terminated string
+}