소스 검색

fix for eventmarker missed in first cl

user 7 년 전
부모
커밋
217917530b
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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
+}