aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_embed_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-17 21:20:05 -0400
committerDavid Robillard <d@drobilla.net>2021-04-18 12:03:58 -0400
commit27c91a71d43ea295cac0d6346ba18ba5a67529e9 (patch)
tree1fcfbd3b89de57fb55a1043e163ead03a654eeed /examples/pugl_embed_demo.c
parente315b35531e070846f8613c34ee0776435c7bdd9 (diff)
downloadpugl-27c91a71d43ea295cac0d6346ba18ba5a67529e9.tar.gz
pugl-27c91a71d43ea295cac0d6346ba18ba5a67529e9.tar.bz2
pugl-27c91a71d43ea295cac0d6346ba18ba5a67529e9.zip
Improve cube rendering in example programs
Diffstat (limited to 'examples/pugl_embed_demo.c')
-rw-r--r--examples/pugl_embed_demo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c
index 79e7505..677b94f 100644
--- a/examples/pugl_embed_demo.c
+++ b/examples/pugl_embed_demo.c
@@ -57,10 +57,10 @@ static const float backgroundVertices[] = {
};
static const float backgroundColorVertices[] = {
- 0.25f, 0.75f, 0.25f, // Top left
- 0.75f, 0.75f, 0.25f, // Top right
- 0.25f, 0.25f, 0.25f, // Bottom left
- 0.75f, 0.25f, 0.25f, // Bottom right
+ 0.25f, 0.25f, 0.25f, // Top left
+ 0.25f, 0.50f, 0.25f, // Top right
+ 0.25f, 0.50f, 0.25f, // Bottom left
+ 0.25f, 0.75f, 0.5f, // Bottom right
};
// clang-format on