diff options
Diffstat (limited to 'cogl/cogl/cogl-texture-private.h')
-rw-r--r-- | cogl/cogl/cogl-texture-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl/cogl-texture-private.h b/cogl/cogl/cogl-texture-private.h index d20de6bce..dba7764cd 100644 --- a/cogl/cogl/cogl-texture-private.h +++ b/cogl/cogl/cogl-texture-private.h @@ -151,7 +151,7 @@ struct _CoglTextureVtable }; typedef enum _CoglTextureSoureType { - COGL_TEXTURE_SOURCE_TYPE_SIZED = 1, + COGL_TEXTURE_SOURCE_TYPE_SIZE = 1, COGL_TEXTURE_SOURCE_TYPE_BITMAP, COGL_TEXTURE_SOURCE_TYPE_EGL_IMAGE, COGL_TEXTURE_SOURCE_TYPE_EGL_IMAGE_EXTERNAL @@ -165,6 +165,7 @@ typedef struct _CoglTextureLoader int width; int height; int depth; /* for 3d textures */ + CoglPixelFormat format; } sized; struct { CoglBitmap *bitmap; |