[core] Fix google-default-arguments errors in header files

As reported by clang-tidy-8.
This commit is contained in:
Thiago Marcos P. Santos
2020-03-27 18:30:35 +02:00
parent c92be2965c
commit 7751e4be76
9 changed files with 22 additions and 21 deletions

View File

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