summaryrefslogtreecommitdiff
path: root/test/gl/object.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/gl/object.test.cpp')
-rw-r--r--test/gl/object.test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gl/object.test.cpp b/test/gl/object.test.cpp
index f1da93f1da..592e7f77d8 100644
--- a/test/gl/object.test.cpp
+++ b/test/gl/object.test.cpp
@@ -66,9 +66,9 @@ TEST(GLObject, Store) {
gl::Context context;
EXPECT_TRUE(context.empty());
- gl::UniqueTexture texture = context.createTexture();
- EXPECT_NE(texture.get(), 0u);
- texture.reset();
+ auto texture = context.createTexture(Size{ 1, 1 });
+ EXPECT_NE(texture.texture.get(), 0u);
+ texture.texture.reset();
EXPECT_FALSE(context.empty());
context.performCleanup();
EXPECT_FALSE(context.empty());