summaryrefslogtreecommitdiff
path: root/vcl/opengl/PackedTextureAtlas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/opengl/PackedTextureAtlas.cxx')
-rw-r--r--vcl/opengl/PackedTextureAtlas.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/opengl/PackedTextureAtlas.cxx b/vcl/opengl/PackedTextureAtlas.cxx
index dd9310103e35..f881afe60f16 100644
--- a/vcl/opengl/PackedTextureAtlas.cxx
+++ b/vcl/opengl/PackedTextureAtlas.cxx
@@ -18,6 +18,8 @@
#include <opengl/PackedTextureAtlas.hxx>
+namespace {
+
struct Node
{
tools::Rectangle const mRectangle;
@@ -32,6 +34,8 @@ struct Node
Node* insert(int nWidth, int nHeight, int nPadding);
};
+}
+
Node::Node(int nWidth, int nHeight)
: mRectangle(tools::Rectangle(Point(), Size(nWidth, nHeight)))
, mLeftNode()