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
6b9da72ab0
commit
2722909b76
@ -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…
Reference in New Issue
Block a user