diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-10 12:21:37 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-10 14:11:44 -0400 |
commit | 80680c7b7545077681a595a084b35ddaec6b47cc (patch) | |
tree | 82bac5142c086312f4ad2973c12f2285cb9866e0 /clients/simple-touch.c | |
parent | b71302e1db3422adc179761814a6bad107bb0454 (diff) | |
download | weston-80680c7b7545077681a595a084b35ddaec6b47cc.tar.gz |
window.c: Just use float instead of GLfloat, remove GLES2.h include
Diffstat (limited to 'clients/simple-touch.c')
-rw-r--r-- | clients/simple-touch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clients/simple-touch.c b/clients/simple-touch.c index 0dbf3db7..bd5226a9 100644 --- a/clients/simple-touch.c +++ b/clients/simple-touch.c @@ -205,8 +205,8 @@ input_device_handle_touch_down(void *data, wl_fixed_t y_w) { struct touch *touch = data; - GLfloat x = wl_fixed_to_double(x_w); - GLfloat y = wl_fixed_to_double(y_w); + float x = wl_fixed_to_double(x_w); + float y = wl_fixed_to_double(y_w); touch_paint(touch, x, y, id); } @@ -227,8 +227,8 @@ input_device_handle_touch_motion(void *data, wl_fixed_t y_w) { struct touch *touch = data; - GLfloat x = wl_fixed_to_double(x_w); - GLfloat y = wl_fixed_to_double(y_w); + float x = wl_fixed_to_double(x_w); + float y = wl_fixed_to_double(y_w); touch_paint(touch, x, y, id); } |