summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c94bd52)
raw | patch | inline | side by side (parent: c94bd52)
author | Vincent Stehlé <v-stehle@ti.com> | |
Thu, 11 Oct 2012 07:22:03 +0000 (09:22 +0200) | ||
committer | Nikhil Devshatwar <a0132237@ti.com> | |
Wed, 22 May 2013 09:45:40 +0000 (15:15 +0530) |
Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
util/display-kmscube.c | patch | blob | history |
diff --git a/util/display-kmscube.c b/util/display-kmscube.c
index 755205e5ff73fe8d13c5a33c02218556827ea0ab..97aac4d955d0782977cd81cf4672fd44dc6827c4 100644 (file)
--- a/util/display-kmscube.c
+++ b/util/display-kmscube.c
static const GLfloat vTexUVs[] = {
// front
static const GLfloat vTexUVs[] = {
// front
- 0.0f, 1.0f,
- 1.0f, 1.0f,
- 0.0f, 0.0f,
- 1.0f, 0.0f,
+ 0.1f, 0.9f,
+ 0.9f, 0.9f,
+ 0.1f, 0.1f,
+ 0.9f, 0.1f,
// back
// back
- 0.0f, 1.0f,
- 1.0f, 1.0f,
- 0.0f, 0.0f,
- 1.0f, 0.0f,
+ 0.1f, 0.9f,
+ 0.9f, 0.9f,
+ 0.1f, 0.1f,
+ 0.9f, 0.1f,
// right
// right
- 0.0f, 1.0f,
- 1.0f, 1.0f,
- 0.0f, 0.0f,
- 1.0f, 0.0f,
+ 0.1f, 0.9f,
+ 0.9f, 0.9f,
+ 0.1f, 0.1f,
+ 0.9f, 0.1f,
// left
// left
- 0.0f, 1.0f,
- 1.0f, 1.0f,
- 0.0f, 0.0f,
- 1.0f, 0.0f,
+ 0.1f, 0.9f,
+ 0.9f, 0.9f,
+ 0.1f, 0.1f,
+ 0.9f, 0.1f,
// top
// top
- 0.0f, 1.0f,
- 1.0f, 1.0f,
- 0.0f, 0.0f,
- 1.0f, 0.0f,
+ 0.1f, 0.9f,
+ 0.9f, 0.9f,
+ 0.1f, 0.1f,
+ 0.9f, 0.1f,
// bottom
// bottom
- 0.0f, 1.0f,
- 1.0f, 1.0f,
- 0.0f, 0.0f,
- 1.0f, 0.0f,
+ 0.1f, 0.9f,
+ 0.9f, 0.9f,
+ 0.1f, 0.1f,
+ 0.9f, 0.1f,
};
/* clear the color buffer */
};
/* clear the color buffer */