Made Texture constructor consistent
Former-commit-id: 92be798524a48cb979c09fa04558602bf3717391
This commit is contained in:
@@ -22,7 +22,7 @@ class NAZARA_API NzTexture : public NzResource, NzNonCopyable
|
||||
friend class NzShader;
|
||||
|
||||
public:
|
||||
NzTexture();
|
||||
NzTexture() = default;
|
||||
explicit NzTexture(const NzImage& image);
|
||||
~NzTexture();
|
||||
|
||||
@@ -83,7 +83,7 @@ class NAZARA_API NzTexture : public NzResource, NzNonCopyable
|
||||
NzRenderTexture* GetRenderTexture() const;
|
||||
void SetRenderTexture(NzRenderTexture* renderTexture);
|
||||
|
||||
NzTextureImpl* m_impl;
|
||||
NzTextureImpl* m_impl = nullptr;
|
||||
};
|
||||
|
||||
#endif // NAZARA_TEXTURE_HPP
|
||||
|
||||
Reference in New Issue
Block a user