Fix Windows build
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
This commit is contained in:
@@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
#include "mimir.h"
|
#include "mimir.h"
|
||||||
|
|
||||||
|
#include <format>
|
||||||
|
|
||||||
using namespace mimir;
|
using namespace mimir;
|
||||||
using namespace hydra;
|
using namespace hydra;
|
||||||
|
|
||||||
@@ -453,14 +455,14 @@ KRBundle* KRResource::LoadGltf(KRContext& context, const std::string& path)
|
|||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
// TODO - Report and handle error
|
// TODO - Report and handle error
|
||||||
return;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
ondemand::object jsonRoot;
|
ondemand::object jsonRoot;
|
||||||
error = doc.get_object().get(jsonRoot);
|
error = doc.get_object().get(jsonRoot);
|
||||||
if (error) {
|
if (error) {
|
||||||
// TODO - Report and handle error
|
// TODO - Report and handle error
|
||||||
return;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
simdjson::ondemand::array jsonBuffers;
|
simdjson::ondemand::array jsonBuffers;
|
||||||
|
|||||||
Reference in New Issue
Block a user