mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-19 07:59:01 +02:00
Add a Q_DECLARE_METATYPE in TextureCache.
There was a missing declaration that was causing an assert in the Qt meta-object system on startup in debug builds: Q_DECLARE_METATYPE(QWeakPointer<NetworkTexture>) Bug fixed by Clement.
This commit is contained in:
parent
a0a12258bf
commit
63e2084395
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ private:
|
|||
|
||||
using NetworkTexturePointer = QSharedPointer<NetworkTexture>;
|
||||
|
||||
Q_DECLARE_METATYPE(QWeakPointer<NetworkTexture>)
|
||||
|
||||
/// Stores cached textures, including render-to-texture targets.
|
||||
class TextureCache : public ResourceCache, public Dependency {
|
||||
Q_OBJECT
|
||||
|
|
Loading…
Reference in a new issue