display-kmscube: Render full video buffer
[glsdk/omapdrmtest.git] / util / display-kmscube.c
index 9a4d00aaaecd21c3e528d0ee562e8f8e6d8d10e8..0c00d67cb64760d646b4f55b7c855597a58acfd3 100644 (file)
@@ -555,35 +555,35 @@ static void draw(struct display_kmscube *disp_kmsc)
 
        static const GLfloat vTexUVs[] = {
                        // front
-                       0.1f,  0.9f,
-                       0.9f,  0.9f,
-                       0.1f,  0.1f,
-                       0.9f,  0.1f,
+                       0.0f,  1.0f,
+                       1.0f,  1.0f,
+                       0.0f,  0.0f,
+                       1.0f,  0.0f,
                        // back
-                       0.1f,  0.9f,
-                       0.9f,  0.9f,
-                       0.1f,  0.1f,
-                       0.9f,  0.1f,
+                       0.0f,  1.0f,
+                       1.0f,  1.0f,
+                       0.0f,  0.0f,
+                       1.0f,  0.0f,
                        // right
-                       0.1f,  0.9f,
-                       0.9f,  0.9f,
-                       0.1f,  0.1f,
-                       0.9f,  0.1f,
+                       0.0f,  1.0f,
+                       1.0f,  1.0f,
+                       0.0f,  0.0f,
+                       1.0f,  0.0f,
                        // left
-                       0.1f,  0.9f,
-                       0.9f,  0.9f,
-                       0.1f,  0.1f,
-                       0.9f,  0.1f,
+                       0.0f,  1.0f,
+                       1.0f,  1.0f,
+                       0.0f,  0.0f,
+                       1.0f,  0.0f,
                        // top
-                       0.1f,  0.9f,
-                       0.9f,  0.9f,
-                       0.1f,  0.1f,
-                       0.9f,  0.1f,
+                       0.0f,  1.0f,
+                       1.0f,  1.0f,
+                       0.0f,  0.0f,
+                       1.0f,  0.0f,
                        // bottom
-                       0.1f,  0.9f,
-                       0.9f,  0.9f,
-                       0.1f,  0.1f,
-                       0.9f,  0.1f,
+                       0.0f,  1.0f,
+                       1.0f,  1.0f,
+                       0.0f,  0.0f,
+                       1.0f,  0.0f,
        };
 
        /* clear the color buffer */