diff options
Diffstat (limited to 'test/util/offscreen_texture.test.cpp')
-rw-r--r-- | test/util/offscreen_texture.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/offscreen_texture.test.cpp b/test/util/offscreen_texture.test.cpp index 78cf7cef60..7bc687d8ca 100644 --- a/test/util/offscreen_texture.test.cpp +++ b/test/util/offscreen_texture.test.cpp @@ -187,7 +187,7 @@ TEST(OffscreenTexture, ClearRenderPassColor) { gfx::BackendScope scope { *backend->getRendererBackend() }; auto& context = backend->getRendererBackend()->getContext(); auto encoder = context.createCommandEncoder(); - auto offscreenTexture = context.createOffscreenTexture({ 128, 256 }); + auto offscreenTexture = context.createOffscreenTexture({128, 256}, gfx::TextureChannelDataType::UnsignedByte); auto renderPass = encoder->createRenderPass( "offscreen texture", { *offscreenTexture, Color{ 1.0f, 0.0f, 0.0f, 1.0f }, {}, {} }); renderPass.reset(); |