[core] refactor program object creation

This commit is contained in:
Konstantin Käfer
2019-04-02 14:11:37 +02:00
parent 33ee7e23de
commit 7f9274035b
67 changed files with 216 additions and 178 deletions

View File

@@ -610,6 +610,10 @@ TEST(Map, AddLayer) {
}
TEST(Map, WithoutVAOExtension) {
if (gfx::Backend::GetType() != gfx::Backend::Type::OpenGL) {
return;
}
MapTest<DefaultFileSource> test { ":memory:", "test/fixtures/api/assets" };
gfx::BackendScope scope { *test.frontend.getBackend() };