1
0
Fork 0

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.
This commit is contained in:
Neil Roberts 2009-01-28 10:52:55 +00:00
parent d6f6c06af5
commit 677f4b899b

View file

@ -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;