diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-07-27 21:46:48 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-07-27 21:46:48 +0000 |
| commit | 6ad56662c4440aa77ccef0f9e28582b35a20e764 (patch) | |
| tree | 69072ba9452bf4fb51e18f1e5a070d1a4066e132 /src/c.zig | |
| parent | add libav StreamSource (diff) | |
| download | glsl-view-renderdoc.tar.gz glsl-view-renderdoc.zip | |
add optional renderdoc integrationrenderdoc
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"); + } }); |
