summaryrefslogtreecommitdiff
path: root/pkg/opengl
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-03-18 13:51:39 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-03-18 13:58:49 -0700
commit4d0bf303c652f2b0f11acf8f9375ffd33a38b4f6 (patch)
treea96425824801e78954011e11b7e9c204acfcfc75 /pkg/opengl
parentc0f5f913c96b702714a3c151635a6b3f9aac35c8 (diff)
ci: zig fmt check
This adds a CI test to ensure that all Zig files are properly formatted. This avoids unrelated diff noise in future PRs.
Diffstat (limited to 'pkg/opengl')
-rw-r--r--pkg/opengl/Texture.zig11
1 files changed, 1 insertions, 10 deletions
diff --git a/pkg/opengl/Texture.zig b/pkg/opengl/Texture.zig
index a9fa5d4fe..5804ef538 100644
--- a/pkg/opengl/Texture.zig
+++ b/pkg/opengl/Texture.zig
@@ -173,15 +173,6 @@ pub const Binding = struct {
width: c.GLsizei,
height: c.GLsizei,
) !void {
- glad.context.CopyTexSubImage2D.?(
- @intFromEnum(b.target),
- level,
- xoffset,
- yoffset,
- x,
- y,
- width,
- height
- );
+ glad.context.CopyTexSubImage2D.?(@intFromEnum(b.target), level, xoffset, yoffset, x, y, width, height);
}
};