diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 22:00:11 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 22:00:11 +0100 |
| commit | 616d099498ec573ec32ec1eb91ddc076c7622d31 (patch) | |
| tree | 35a5f56f7fdc3e226e68189d9ea490bb91786ec4 /src/rendering.cc | |
| parent | 20c10be82f9a38a1def467408c1173d38ff993a8 (diff) | |
fix color channels
Diffstat (limited to 'src/rendering.cc')
| -rw-r--r-- | src/rendering.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rendering.cc b/src/rendering.cc index 8044688..3870cf6 100644 --- a/src/rendering.cc +++ b/src/rendering.cc @@ -110,7 +110,7 @@ void wayc_atlas_set(atlas_s* atlas, image_data_type_e data_type, ivec2 offset, wayc_notnull(data); wayc_image_upload(atlas->texture, offset, width, height, IMAGE_TYPE_2D, - IMAGE_FORMAT_RGBA, data_type, data); + atlas->format, data_type, data); } void wayc_atlas_deinit(atlas_s* atlas) { |
