Commit 46214aae authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'asan-stack'

e681794f Workaround strange ASan stack buffer overrun error
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Brad King's avatarBrad King <brad.king@kitware.com>
Reviewed-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Acked-by: Ken Martin's avatarKen Martin <ken.martin@kitware.com>
Merge-request: !1641
parents 3530cb6e e681794f
Pipeline #19148 running with stage
......@@ -164,10 +164,10 @@ bool vtkOpenGLRenderUtilities::PrepFullScreenVAO(vtkOpenGLVertexArrayObject *vao
GLUtil::FullScreenQuadVerts = vtkOpenGLBufferObject::New();
// ndCoord_x, ndCoord_y, texCoord_x, texCoord_y
float verts[4][4] = { { 1.f, 1.f, 1.f, 1.f },
{-1.f, 1.f, 0.f, 1.f },
{ 1.f,-1.f, 1.f, 0.f },
{-1.f,-1.f, 0.f, 0.f } };
float verts[16] = { 1.f, 1.f, 1.f, 1.f,
-1.f, 1.f, 0.f, 1.f,
1.f,-1.f, 1.f, 0.f,
-1.f,-1.f, 0.f, 0.f };
GLUtil::FullScreenQuadVerts->SetType(vtkOpenGLBufferObject::ArrayBuffer);
res = GLUtil::FullScreenQuadVerts->Upload(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment