[core] refactor RendererBackend

This commit is contained in:
Konstantin Käfer
2019-04-01 16:56:24 +02:00
parent a782a6d15b
commit 66c020034e
54 changed files with 664 additions and 410 deletions

View File

@@ -45,10 +45,10 @@ TEST(GLObject, Value) {
}
TEST(GLObject, Store) {
HeadlessBackend backend { { 256, 256 } };
gl::HeadlessBackend backend { { 256, 256 } };
gfx::BackendScope scope { backend };
gl::Context context;
gl::Context context{ backend };
EXPECT_TRUE(context.empty());
gl::UniqueTexture texture = context.createUniqueTexture();