浏览代码

Fix Windows build.

legacy
Sam Hocevar 5 年前
父节点
当前提交
af51176852
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -1
      src/image/codec/gdiplus-image.cpp
  2. +1
    -0
      src/t/test-common.cpp

+ 1
- 1
src/image/codec/gdiplus-image.cpp 查看文件

@@ -61,7 +61,7 @@ ResourceCodecData* GdiPlusImageCodec::Load(std::string const &path)
return nullptr;
}

array<std::string> pathlist = sys::get_path_list(path);
auto pathlist = sys::get_path_list(path);
Gdiplus::Bitmap *bitmap = nullptr;
for (auto const &fullpath : pathlist)
{


+ 1
- 0
src/t/test-common.cpp 查看文件

@@ -14,6 +14,7 @@
# include "config.h"
#endif

#include <lol/engine.h> // this is required for SDL_main
#include <lol/base/lolunit.h>

#include <cstdio>


正在加载...
取消
保存