summaryrefslogtreecommitdiff
path: root/clients/dnd.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-10 12:21:37 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-10 14:11:44 -0400
commit80680c7b7545077681a595a084b35ddaec6b47cc (patch)
tree82bac5142c086312f4ad2973c12f2285cb9866e0 /clients/dnd.c
parentb71302e1db3422adc179761814a6bad107bb0454 (diff)
window.c: Just use float instead of GLfloat, remove GLES2.h include
Diffstat (limited to 'clients/dnd.c')
-rw-r--r--clients/dnd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clients/dnd.c b/clients/dnd.c
index c2975d5c..45adc8a3 100644
--- a/clients/dnd.c
+++ b/clients/dnd.c
@@ -450,7 +450,7 @@ lookup_cursor(struct dnd *dnd, int x, int y)
static int
dnd_enter_handler(struct widget *widget,
- struct input *input, GLfloat x, GLfloat y, void *data)
+ struct input *input, float x, float y, void *data)
{
return lookup_cursor(data, x, y);
}
@@ -458,7 +458,7 @@ dnd_enter_handler(struct widget *widget,
static int
dnd_motion_handler(struct widget *widget,
struct input *input, uint32_t time,
- GLfloat x, GLfloat y, void *data)
+ float x, float y, void *data)
{
return lookup_cursor(data, x, y);
}
@@ -466,7 +466,7 @@ dnd_motion_handler(struct widget *widget,
static void
dnd_data_handler(struct window *window,
struct input *input,
- GLfloat x, GLfloat y, const char **types, void *data)
+ float x, float y, const char **types, void *data)
{
struct dnd *dnd = data;