Skip to content

Commit a0f8b84

Browse files
committed
Resolved issue with wrong argument order in sample_draw.cpp.
1 parent 6b98fdd commit a0f8b84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

N3888_RefImpl/SampleApp/sample_draw.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ void sample_draw::operator()(display_surface& ds) {
8686

8787
void test_image_load_save(display_surface& ds) {
8888
#ifdef _Filesystem_support_test
89-
static auto imgSfc = image_surface(filesystem::path("2017_03_05.jpg"s), format::argb32, image_file_format::jpeg);
90-
//static auto alphaSfc = image_surface(filesystem::path("alpha8.png"s), format::a8, image_file_format::png);
89+
static auto imgSfc = image_surface(filesystem::path("2017_03_05.jpg"s), image_file_format::jpeg, format::argb32);
90+
//static auto alphaSfc = image_surface(filesystem::path("alpha8.png"s), format::a8, image_file_format::png, format::a8);
9191
#else
92-
static auto imgSfc = image_surface("2017_03_05.jpg"s, format::argb32, image_file_format::jpeg);
93-
//static auto alphaSfc = image_surface("alpha8.png"s, format::a8, image_file_format::png);
92+
static auto imgSfc = image_surface("2017_03_05.jpg"s, format::argb32, image_file_format::jpeg, format::argb32);
93+
//static auto alphaSfc = image_surface("alpha8.png"s, format::a8, image_file_format::png, format::a8);
9494
#endif
9595
static bool saveOnce = false;
9696
if (!saveOnce) {

0 commit comments

Comments
 (0)