summaryrefslogtreecommitdiff
path: root/tests/vertex-clip-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vertex-clip-test.c')
-rw-r--r--tests/vertex-clip-test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/vertex-clip-test.c b/tests/vertex-clip-test.c
index 5b2e08c5..6d44aa2a 100644
--- a/tests/vertex-clip-test.c
+++ b/tests/vertex-clip-test.c
@@ -56,8 +56,8 @@ populate_clip_context (struct clip_context *ctx)
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 @@ TEST_P(clip_polygon_n_vertices_emitted, test_data)
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 @@ TEST_P(clip_polygon_expected_vertices, test_data)
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;