diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gl/object.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gl/object.test.cpp b/test/gl/object.test.cpp index ba3580080b..0502bbc847 100644 --- a/test/gl/object.test.cpp +++ b/test/gl/object.test.cpp @@ -80,7 +80,7 @@ TEST(GLObject, Store) { context.performCleanup(); EXPECT_TRUE(context.empty()); - mbgl::gl::UniqueShader shader = context.createShader(GL_VERTEX_SHADER); + mbgl::gl::UniqueShader shader = context.createVertexShader(); EXPECT_NE(shader.get(), 0u); shader.reset(); EXPECT_FALSE(context.empty()); |