Remove some rendering code with no effect and warnings

This commit is contained in:
Dorota Czaplejewicz
2019-06-22 12:56:33 +00:00
parent 15a3315854
commit 0809db9e32
2 changed files with 2 additions and 27 deletions

View File

@ -166,8 +166,8 @@ create_keyboard_surface (EekRenderer *renderer)
eek_element_get_bounds (EEK_ELEMENT(priv->keyboard), &bounds);
keyboard_surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
bounds.width * priv->scale,
bounds.height * priv->scale);
ceil(bounds.width * priv->scale),
ceil(bounds.height * priv->scale));
data.cr = cairo_create (keyboard_surface);
data.renderer = renderer;