summaryrefslogtreecommitdiff
path: root/cogl/winsys/cogl-texture-pixmap-x11.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-11-22 21:31:25 +0000
committerRobert Bragg <robert@linux.intel.com>2013-01-21 14:20:40 +0000
commitd13ff0ddbc690dee3c8f2e8c2c3974b209ea913f (patch)
treec59537f4adb8d4d159324b398233c88323277976 /cogl/winsys/cogl-texture-pixmap-x11.c
parent1e541c50813382cba8987c54bc05d13878d07f53 (diff)
downloadcogl-d13ff0ddbc690dee3c8f2e8c2c3974b209ea913f.tar.gz
Move _cogl_texture_get_gl_format to -texture-gl.c
This moves the _cogl_texture_get_gl_format function from cogl-texture.c to cogl-texture-gl.c and renames it _cogl_texture_gl_get_format. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit f8deec01eff7d8d9900b509048cf1ff1c86ca879)
Diffstat (limited to 'cogl/winsys/cogl-texture-pixmap-x11.c')
-rw-r--r--cogl/winsys/cogl-texture-pixmap-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/winsys/cogl-texture-pixmap-x11.c b/cogl/winsys/cogl-texture-pixmap-x11.c
index a4425b00..d26fe7fd 100644
--- a/cogl/winsys/cogl-texture-pixmap-x11.c
+++ b/cogl/winsys/cogl-texture-pixmap-x11.c
@@ -942,7 +942,7 @@ _cogl_texture_pixmap_x11_get_gl_format (CoglTexture *tex)
CoglTexturePixmapX11 *tex_pixmap = COGL_TEXTURE_PIXMAP_X11 (tex);
CoglTexture *child_tex = _cogl_texture_pixmap_x11_get_texture (tex_pixmap);
- return _cogl_texture_get_gl_format (child_tex);
+ return _cogl_texture_gl_get_format (child_tex);
}
static int