diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-03-05 17:38:04 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-10 11:44:48 +0000 |
| commit | cf3475eab439df049fb48a039801da8270dc044c (patch) | |
| tree | 006e6a677696f9ce6e030614167158ff6a84c682 /src/c.zig | |
| parent | Update README.md (diff) | |
| download | glsl-view-cf3475eab439df049fb48a039801da8270dc044c.tar.gz glsl-view-cf3475eab439df049fb48a039801da8270dc044c.zip | |
implement HAP decoding straight to compressed GPU texture
Supports HAP and HAP Alpha (Hap1/Hap5) formats
Diffstat (limited to 'src/c.zig')
| -rw-r--r-- | src/c.zig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,4 +11,8 @@ pub usingnamespace @cImport({ @cInclude("libavformat/avformat.h"); @cInclude("libswscale/swscale.h"); } + + if (build_config.have_hap) { + @cInclude("hap.h"); + } }); |
