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:
parent
d6f6c06af5
commit
677f4b899b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue