mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
cogl-texture-pixmap-x11: Fix the can_hardware_repeat wrapper
The wrapper for the can_hardware_repeat had a cut and paste error so it would call the wrong function on the child texture. Many thanks to Owen Taylor for finding this bug.
This commit is contained in:
parent
db954565d4
commit
6d1371e0e9
@ -781,7 +781,7 @@ _cogl_texture_pixmap_x11_can_hardware_repeat (CoglTexture *tex)
|
||||
|
||||
child_tex = _cogl_texture_pixmap_x11_get_texture (tex_pixmap);
|
||||
|
||||
return cogl_texture_get_max_waste (child_tex);
|
||||
return _cogl_texture_can_hardware_repeat (child_tex);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user