summaryrefslogtreecommitdiff
path: root/ui.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-06 22:04:55 +1100
committerquou <quou@disroot.org>2025-01-06 22:05:26 +1100
commit1006ccf490c473447498a5c1a290e4dd9b55b7c2 (patch)
tree48f86d6a08307a0c09a351bde35bfa746bcc3c30 /ui.cpp
parent0fc7b4180b21e965db94872c20ca57f1ec9cc40a (diff)
cubemap support
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index a3ed71b..54be1ff 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -109,6 +109,9 @@ static Texture_Id create_atlas(Device* d) {
Texture_Flags::sampleable | Texture_Flags::copy_dst,
w,
10,
+ 1,
+ 1,
+ 1,
buf
);
d->destroy_bufferi(buf);