File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
examples_tests/16.OrderIndependentTransparency Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 14
14
15
15
using namespace nbl ;
16
16
using namespace core ;
17
+ using namespace ui ;
17
18
/*
18
19
Uncomment for more detailed logging
19
20
*/
@@ -173,7 +174,7 @@ class OITSampleApp : public ApplicationBase
173
174
CommonAPI::SFeatureRequest< video::ILogicalDevice::E_FEATURE> optionalDeviceFeatures = {};
174
175
175
176
const auto swapchainImageUsage = static_cast <asset::IImage::E_USAGE_FLAGS>(asset::IImage::EUF_COLOR_ATTACHMENT_BIT);
176
- const video::ISurface::SFormat surfaceFormat (asset::EF_B8G8R8A8_SRGB , asset::ECP_COUNT, asset::EOTF_UNKNOWN);
177
+ const video::ISurface::SFormat surfaceFormat (asset::EF_R8G8B8A8_SRGB , asset::ECP_COUNT, asset::EOTF_UNKNOWN);
177
178
178
179
CommonAPI::InitOutput initOutput;
179
180
initOutput.window = core::smart_refctd_ptr (window);
You can’t perform that action at this time.
0 commit comments