[Libreoffice-commits] core.git: vcl/opengl

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Aug 29 07:45:13 PDT 2015


 vcl/opengl/gdiimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9db0626cc365d752241632f0a5c44d3835f9330b
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Aug 28 02:13:45 2015 +0200

    we only use 8 array entries
    
    Change-Id: Ie85fa48906e1e6b8c19e2daba65517ea923be457
    Reviewed-on: https://gerrit.libreoffice.org/18071
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 97f2547..df3b797 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;


More information about the Libreoffice-commits mailing list