From 4c9f5ee706faa1435b7dc2f3b6d4753e1289c351 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 30 Apr 2022 14:19:31 -0700 Subject: Changeset: 21 Add stub implementation for IresTexture to allow compiling on MSVC --- source/Texture.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Texture.cpp') 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