summaryrefslogtreecommitdiff
path: root/cogl/cogl-texture.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-22 17:48:17 +0000
commit0850eea1621a996d8b7f3b9b4a7a01425e710491 (patch)
tree358c2abf240ca810bed95baf2516839e5a9227e4 /cogl/cogl-texture.c
parenta57195d16db7f0b0dedefef3ca587a597fdf10ce (diff)
downloadcogl-0850eea1621a996d8b7f3b9b4a7a01425e710491.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/cogl-texture.c')
-rw-r--r--cogl/cogl-texture.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cogl/cogl-texture.c b/cogl/cogl-texture.c
index 6f75423e..a78af53b 100644
--- a/cogl/cogl-texture.c
+++ b/cogl/cogl-texture.c
@@ -418,12 +418,6 @@ _cogl_texture_transform_quad_coords_to_gl (CoglTexture *texture,
return texture->vtable->transform_quad_coords_to_gl (texture, coords);
}
-GLenum
-_cogl_texture_get_gl_format (CoglTexture *texture)
-{
- return texture->vtable->get_gl_format (texture);
-}
-
CoglBool
cogl_texture_get_gl_texture (CoglTexture *texture,
GLuint *out_gl_handle,