diff options
author | rtk0c <[email protected]> | 2022-04-30 14:19:31 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-30 14:19:31 -0700 |
commit | 4c9f5ee706faa1435b7dc2f3b6d4753e1289c351 (patch) | |
tree | 2ae1cb07b01100f4b266e7172d446ab40e032512 | |
parent | 453e1df6fb7a5847c8a5b26bd8479451091fb69d (diff) |
Changeset: 21 Add stub implementation for IresTexture to allow compiling on MSVC
-rw-r--r-- | source/Texture.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |