mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 21:08:20 +02:00
tests/vertex-clip: add const
When I make the test harness more type-safe, this would fail to build. Add the missing const. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
d2565d4c25
commit
39caecee61
1 changed files with 2 additions and 2 deletions
|
|
@ -695,7 +695,7 @@ static const struct vertex_clip_test_data quad_clip_expected_data[] = {
|
|||
|
||||
TEST_P(quad_clip_expected, quad_clip_expected_data)
|
||||
{
|
||||
struct vertex_clip_test_data *tdata = data;
|
||||
const struct vertex_clip_test_data *tdata = data;
|
||||
struct clipper_vertex clipped[8];
|
||||
struct clipper_quad quad;
|
||||
int clipped_n;
|
||||
|
|
@ -750,7 +750,7 @@ static const struct vertex_clip_test_data quad_clip_box32_expected_data[] = {
|
|||
|
||||
TEST_P(quad_clip_box32_expected, quad_clip_box32_expected_data)
|
||||
{
|
||||
struct vertex_clip_test_data *tdata = data;
|
||||
const struct vertex_clip_test_data *tdata = data;
|
||||
struct clipper_vertex clipped[8];
|
||||
struct clipper_quad quad;
|
||||
int clipped_n;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue