aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-30 14:19:31 -0700
committerhnOsmium0001 <[email protected]>2022-04-30 14:19:31 -0700
commite663fb70fa47764db4576315b78143b6d23ddfa3 (patch)
tree246e313872def67b3bd9cdaec5006845617050e2
parent242317c1f7f2a6abdfbdbc99d5297539bbdc842f (diff)
Add stub implementation for IresTexture to allow compiling on MSVC
-rw-r--r--source/Texture.cpp3
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
}