diff options
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 2 |
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; |