Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float
diff --git a/tests/vertex-clip-test.c b/tests/vertex-clip-test.c
index 5b2e08c..6d44aa2 100644
--- a/tests/vertex-clip-test.c
+++ b/tests/vertex-clip-test.c
@@ -56,8 +56,8 @@
static int
clip_polygon (struct clip_context *ctx,
struct polygon8 *polygon,
- GLfloat *vertices_x,
- GLfloat *vertices_y)
+ float *vertices_x,
+ float *vertices_y)
{
populate_clip_context(ctx);
return clip_transformed(ctx, polygon, vertices_x, vertices_y);
@@ -181,8 +181,8 @@
struct vertex_clip_test_data *tdata = data;
struct clip_context ctx;
struct polygon8 polygon;
- GLfloat vertices_x[8];
- GLfloat vertices_y[8];
+ float vertices_x[8];
+ float vertices_y[8];
deep_copy_polygon8(&tdata->surface, &polygon);
int emitted = clip_polygon(&ctx, &polygon, vertices_x, vertices_y);
@@ -194,8 +194,8 @@
struct vertex_clip_test_data *tdata = data;
struct clip_context ctx;
struct polygon8 polygon;
- GLfloat vertices_x[8];
- GLfloat vertices_y[8];
+ float vertices_x[8];
+ float vertices_y[8];
deep_copy_polygon8(&tdata->surface, &polygon);
int emitted = clip_polygon(&ctx, &polygon, vertices_x, vertices_y);
int i = 0;