Skip to content

Commit 5489382

Browse files
committed
Ex09 small fix
1 parent 8508a5a commit 5489382

File tree

1 file changed

+1
-1
lines changed
  • examples_tests/09.ColorSpaceTest

1 file changed

+1
-1
lines changed

examples_tests/09.ColorSpaceTest/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ColorSpaceTestSampleApp : public ApplicationBase
7171
void onAppInitialized_impl() override
7272
{
7373
const auto swapchainImageUsage = static_cast<asset::IImage::E_USAGE_FLAGS>(asset::IImage::EUF_COLOR_ATTACHMENT_BIT);
74-
const video::ISurface::SFormat surfaceFormat(asset::EF_B8G8R8A8_SRGB, asset::ECP_COUNT, asset::EOTF_UNKNOWN);
74+
const video::ISurface::SFormat surfaceFormat(asset::EF_B8G8R8A8_SRGB, asset::ECP_SRGB, asset::EOTF_sRGB);
7575

7676
CommonAPI::InitOutput initOutput;
7777
initOutput.window = core::smart_refctd_ptr(window);

0 commit comments

Comments
 (0)