From e663fb70fa47764db4576315b78143b6d23ddfa3 Mon Sep 17 00:00:00 2001 From: hnOsmium0001 Date: Sat, 30 Apr 2022 14:19:31 -0700 Subject: Add stub implementation for IresTexture to allow compiling on MSVC --- source/Texture.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source') diff --git a/source/Texture.cpp b/source/Texture.cpp index 8fb657a..6fa7c8a 100644 --- a/source/Texture.cpp +++ b/source/Texture.cpp @@ -229,6 +229,7 @@ bool Texture::IsValid() const { } Texture* IresTexture::CreateInstance() const { + return new Texture(); } Texture* IresTexture::GetInstance() { @@ -239,9 +240,11 @@ Texture* IresTexture::GetInstance() { } void IresTexture::Write(IresWritingContext& ctx, rapidjson::Value& value, rapidjson::Document& root) const { + IresObject::Write(ctx, value, root); // TODO } void IresTexture::Read(IresLoadingContext& ctx, const rapidjson::Value& value) { + IresObject::Read(ctx, value); // TODO } -- cgit v1.2.3-70-g09d2