summaryrefslogtreecommitdiff
path: root/c2.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 /c2.cpp
parent0fc7b4180b21e965db94872c20ca57f1ec9cc40a (diff)
cubemap support
Diffstat (limited to 'c2.cpp')
-rw-r--r--c2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/c2.cpp b/c2.cpp
index b19c238..0c231eb 100644
--- a/c2.cpp
+++ b/c2.cpp
@@ -76,6 +76,9 @@ Texture_Id make_default_texture(Device* dev) {
Texture_Flags::sampleable | Texture_Flags::copy_dst,
1,
1,
+ 1,
+ 1,
+ 1,
buf
);
dev->destroy_bufferi(buf);