summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authoruser <email>2017-12-14 11:44:48 +0100
committeruser <email>2017-12-14 11:44:48 +0100
commit0e18b146055efd18029c4ac5553fd1e53dfbbfc8 (patch)
treee43d13b1c3e0a5e56351f396e95b5437d3176e64 /src/rlgl.h
parent963551ee6e99e069fca8eed47151f4caf628507e (diff)
downloadraylib-0e18b146055efd18029c4ac5553fd1e53dfbbfc8.tar.gz
raylib-0e18b146055efd18029c4ac5553fd1e53dfbbfc8.zip
added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index a54a912f..93afb44e 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -440,6 +440,9 @@ void rlUpdateMesh(Mesh mesh, int buffer, int numVertex); // Update ve
void rlDrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform
void rlUnloadMesh(Mesh *mesh); // Unload mesh data from CPU and GPU
+// Debug Marker for Analysis
+void rlSetMarker(const char *text);
+
// NOTE: There is a set of shader related functions that are available to end user,
// to avoid creating function wrappers through core module, they have been directly declared in raylib.h