summaryrefslogtreecommitdiff
path: root/cogl/cogl-sub-texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-sub-texture.c')
-rw-r--r--cogl/cogl-sub-texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cogl/cogl-sub-texture.c b/cogl/cogl-sub-texture.c
index 8f18229b..e39518d9 100644
--- a/cogl/cogl-sub-texture.c
+++ b/cogl/cogl-sub-texture.c
@@ -38,6 +38,7 @@
#include "cogl-texture-rectangle-private.h"
#include "cogl-texture-2d.h"
#include "cogl-texture-gl-private.h"
+#include "cogl-gtype-private.h"
#include <string.h>
#include <math.h>
@@ -45,6 +46,7 @@
static void _cogl_sub_texture_free (CoglSubTexture *sub_tex);
COGL_TEXTURE_DEFINE (SubTexture, sub_texture);
+COGL_GTYPE_DEFINE_CLASS (SubTexture, sub_texture);
static const CoglTextureVtable cogl_sub_texture_vtable;