summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-28 02:13:45 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-29 14:44:51 +0000
commit9db0626cc365d752241632f0a5c44d3835f9330b (patch)
treeaa542516608d3c9ef71e9431a44c9b3748d448ce /vcl/opengl
parent51c3a6421ecdb3443121c26e3bdeb21b07bd1fd8 (diff)
we only use 8 array entries
Change-Id: Ie85fa48906e1e6b8c19e2daba65517ea923be457 Reviewed-on: https://gerrit.libreoffice.org/18071 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 97f2547be3bf..df3b7979fe21 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1265,7 +1265,7 @@ void OpenGLSalGraphicsImpl::drawRect( long nX, long nY, long nWidth, long nHeigh
GLfloat fX2(nX + nWidth - 1);
GLfloat fY2(nY + nHeight - 1);
- GLfloat pPoints[16];
+ GLfloat pPoints[8];
pPoints[0] = fX1;
pPoints[1] = fY1;