[core] introduces types for GL objects

This commit is contained in:
Konstantin Käfer
2016-09-29 12:15:36 +02:00
committed by John Firebaugh
parent d1a84d9b51
commit 15aece8a30
15 changed files with 101 additions and 60 deletions

View File

@@ -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());