Explorar o código

fix for eventmarker missed in first cl

user %!s(int64=7) %!d(string=hai) anos
pai
achega
217917530b
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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);
 }
 #endif
+
+void rlSetMarker(const char *text) {
+    if(debugMarkerSupported)
+        glInsertEventMarkerEXT(0, text);            //0 terminated string
+}