summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-25 21:59:09 +1100
committerquou <quou@disroot.org>2024-12-25 21:59:09 +1100
commit51ee5b67b65a8409da3b5ddd8a61c4237cf2adef (patch)
treed2706342d66917be24f6b028fee18f485d1ee1f8
parentc0fee0d8703a33795c29cdf4c2565999c7e92d44 (diff)
fix uvs
-rw-r--r--c2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c2.cpp b/c2.cpp
index 8ba1772..37e4876 100644
--- a/c2.cpp
+++ b/c2.cpp
@@ -11,9 +11,9 @@ extern "C" {
#define per_frame_memory_size (1024 * 1024)
static float verts[] = {
- 0.5f, 0.5f, 1.0f, 0.0f, 0.0f, 0.5f, 0.0f,
+ 0.5f, 0.5f, 1.0f, 0.0f, 0.0f, 1.0f, 1.0f,
-0.5f, 0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
- 0.0f, -0.5f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f
+ 0.0f, -0.5f, 0.0f, 0.0f, 1.0f, 0.5f, 0.0f
};
struct C2 : public App {