diff options
Diffstat (limited to 'src/c.zig')
| -rw-r--r-- | src/c.zig | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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"); + } }); |
