diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2013-11-27 13:22:42 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-11-27 22:49:31 -0800 |
commit | 0f0a6ffc2e4540de6d161125d9856a9f276ecf5a (patch) | |
tree | f03536790e1928aa36868f2a8e86da083df34797 /tests | |
parent | eed9344430cb5e726842c0631f51da28c5ce6ac5 (diff) |
Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float
Diffstat (limited to 'tests')
-rw-r--r-- | tests/vertex-clip-test.c | 12 |
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; |