summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/rlgl.c5
1 files changed, 5 insertions, 0 deletions
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
+}