mirror of
https://github.com/brl/mutter.git
synced 2025-02-11 10:54:09 +00:00
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
@ -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…
x
Reference in New Issue
Block a user