diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-04-09 01:49:35 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-04-09 01:49:35 -0400 |
| commit | 556e578f23a02cffa23136629bec9c619211bc25 (patch) | |
| tree | 0be8371a6a13a1b81c8475bad4910308c186846a /include/JSystem/J3DGraphBase | |
| parent | 2ae6d899f7fd908b5a25266b4bf01c88a8b35aab (diff) | |
Misc small cleanup
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DMatBlock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h index 019609e4..808c8b5c 100644 --- a/include/JSystem/J3DGraphBase/J3DMatBlock.h +++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h @@ -626,6 +626,7 @@ struct J3DFog : public J3DFogInfo { // J3DFog() { *getFogInfo() = j3dDefaultFogInfo; } // Produces the wrong codegen for mDoExt_backupMatBlock_c's constructor J3DFog() { J3DFogInfo::operator=(j3dDefaultFogInfo); } explicit J3DFog(const J3DFogInfo& info) { J3DFogInfo::operator=(info); } + ~J3DFog() {} J3DFogInfo* getFogInfo() { return (J3DFogInfo*)this; } void load() const { |
