summaryrefslogtreecommitdiff
path: root/src/render/Texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Texture.cpp')
-rw-r--r--src/render/Texture.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp
index 28ae4b41..1201f044 100644
--- a/src/render/Texture.cpp
+++ b/src/render/Texture.cpp
@@ -1,6 +1,8 @@
#include "Texture.hpp"
#include <cstring>
+using namespace Render;
+
ITexture::ITexture(uint32_t drmFormat, uint8_t* pixels, uint32_t stride, const Vector2D& size, bool keepDataCopy, bool opaque) :
m_size(size), m_opaque(opaque), m_drmFormat(drmFormat), m_keepDataCopy(keepDataCopy) {
if (m_keepDataCopy && stride && pixels) {