aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.zig')
-rw-r--r--src/c.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/c.zig b/src/c.zig
index 1618030..b516e84 100644
--- a/src/c.zig
+++ b/src/c.zig
@@ -19,4 +19,12 @@ pub usingnamespace @cImport({
if (build_config.have_tsv) {
@cInclude("texture_share_gl/texture_share_gl_client.h");
}
+
+ if (build_config.have_renderdoc) {
+ @cInclude("dlfcn.h");
+ @cInclude("renderdoc_app.h");
+ @cDefine("GLFW_EXPOSE_NATIVE_EGL", "1");
+ @cDefine("GLFW_EXPOSE_NATIVE_WAYLAND", "1");
+ @cInclude("GLFW/glfw3native.h");
+ }
});