Needs only 4 verts * 3 = 12 floats.

Signed-off-by: Pekka Paalanen <[email protected]>
---
 plugins/opengl/src/paint.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/opengl/src/paint.cpp b/plugins/opengl/src/paint.cpp
index 84a13be..df0845e 100644
--- a/plugins/opengl/src/paint.cpp
+++ b/plugins/opengl/src/paint.cpp
@@ -71,7 +71,7 @@ PrivateGLScreen::paintBackground (const GLMatrix   &transform,
                                   bool             transformed)
 {
     GLVertexBuffer *streamingBuffer = GLVertexBuffer::streamingBuffer ();
-    GLfloat         vertexData[16];
+    GLfloat         vertexData[12];
     GLushort        colorData[4];
 
     BoxPtr    pBox = const_cast <Region> (region.handle ())->rects;
-- 
1.7.3.4

_______________________________________________
dev mailing list
[email protected]
http://lists.compiz.org/mailman/listinfo/dev

Reply via email to