From 2722909b7668f5f566b1907f3c8fc1447adc192c Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Wed, 28 Jan 2009 10:52:55 +0000 Subject: [PATCH] Fix building GLES after _cogl_texture_handle_from_pointer got removed Commit a688b1db removed the function and replaced it with a direct cast. This was also being used in the GL ES so the build broke. --- clutter/cogl/gles/cogl-texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/cogl/gles/cogl-texture.c b/clutter/cogl/gles/cogl-texture.c index ec51c6382..d5218cf65 100644 --- a/clutter/cogl/gles/cogl-texture.c +++ b/clutter/cogl/gles/cogl-texture.c @@ -409,7 +409,7 @@ _cogl_texture_draw_and_read (CoglTexture *tex, CoglBitmap rect_bmp; CoglHandle handle; - handle = _cogl_texture_handle_from_pointer (tex); + handle = (CoglHandle) tex; bpp = _cogl_get_format_bpp (COGL_PIXEL_FORMAT_RGBA_8888); ry1 = 0; ry2 = 0;