fix: align the enum values

This commit is contained in:
Taylor
2025-07-30 00:17:40 +09:00
parent 1b15c9928b
commit 6c2b72f701
+8 -8
View File
@@ -263,19 +263,19 @@ image :: struct {
} }
filter_type :: enum c.int { filter_type :: enum c.int {
undefined = 0, undefined = 0,
nearest = 9728, nearest = 9728,
linear = 9729, linear = 9729,
nearest_mipmap_nearest = 9984, nearest_mipmap_nearest = 9984,
linear_mipmap_nearest = 9985, linear_mipmap_nearest = 9985,
nearest_mipmap_linear = 9986, nearest_mipmap_linear = 9986,
linear_mipmap_linear = 9987, linear_mipmap_linear = 9987,
} }
wrap_mode :: enum c.int { wrap_mode :: enum c.int {
clamp_to_edge = 33071, clamp_to_edge = 33071,
mirrored_repeat = 33648, mirrored_repeat = 33648,
repeat = 10497, repeat = 10497,
} }
sampler :: struct { sampler :: struct {