summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorRay San <[email protected]>2017-12-15 13:44:31 +0100
committerRay San <[email protected]>2017-12-15 13:44:31 +0100
commit53ad53d05127ac083f7439c5c2e1c2ab5e73e1c0 (patch)
tree492c374df9119066271b8e9d84f27901479d8ec9 /src/rlgl.c
parentbcdde6c65af3eee20ce3a142eec800dece759c17 (diff)
downloadraylib-53ad53d05127ac083f7439c5c2e1c2ab5e73e1c0.tar.gz
raylib-53ad53d05127ac083f7439c5c2e1c2ab5e73e1c0.zip
Manually review previous PR
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 713646ac..96932686 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -1293,6 +1293,12 @@ int rlGetVersion(void)
#endif
}
+// Set debug marker
+void rlSetDebugMarker(const char *text)
+{
+ if(debugMarkerSupported) glInsertEventMarkerEXT(0, text); // 0 terminated string
+}
+
// Load OpenGL extensions
// NOTE: External loader function could be passed as a pointer
void rlLoadExtensions(void *loader)