mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 08:43:47 +02:00
Merge pull request #12482 from SimonWalton-HiFi/declare-metatype
Add a Q_DECLARE_METATYPE in TextureCache.
This commit is contained in:
commit
1341774450
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ private:
|
||||||
|
|
||||||
using NetworkTexturePointer = QSharedPointer<NetworkTexture>;
|
using NetworkTexturePointer = QSharedPointer<NetworkTexture>;
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE(QWeakPointer<NetworkTexture>)
|
||||||
|
|
||||||
/// Stores cached textures, including render-to-texture targets.
|
/// Stores cached textures, including render-to-texture targets.
|
||||||
class TextureCache : public ResourceCache, public Dependency {
|
class TextureCache : public ResourceCache, public Dependency {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Reference in a new issue