On Monday 11 May 2015, Anuj Phogat wrote: > Signed-off-by: Anuj Phogat <[email protected]> > --- > tests/util/piglit-test-pattern.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/util/piglit-test-pattern.cpp > b/tests/util/piglit-test-pattern.cpp > index 2f51666..12d9918 100644 > --- a/tests/util/piglit-test-pattern.cpp > +++ b/tests/util/piglit-test-pattern.cpp > @@ -809,7 +809,7 @@ ManifestStencil::compile() > { 1, -1 }, > { 1, 1 } > }; > - glGenVertexArrays(1, &vertex_buf); > + glGenBuffers(1, &vertex_buf); > glBindBuffer(GL_ARRAY_BUFFER, vertex_buf); > glBufferData(GL_ARRAY_BUFFER, sizeof(vertex_data), vertex_data, > GL_STATIC_DRAW); > @@ -900,7 +900,7 @@ ManifestDepth::compile() > { 1, -1 }, > { 1, 1 } > }; > - glGenVertexArrays(1, &vertex_buf); > + glGenBuffers(1, &vertex_buf); > glBindBuffer(GL_ARRAY_BUFFER, vertex_buf); > glBufferData(GL_ARRAY_BUFFER, sizeof(vertex_data), vertex_data, > GL_STATIC_DRAW); >
Reviewed-by: Fredrik Höglund <[email protected]> _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
