From 9dcce71e603616ee7a54707e932f962cdf8fb20a Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 17 Jun 2018 09:59:38 -0400 Subject: add MSAA Signed-off-by: Rob Clark Reviewed-by: Emil Velikov --- cube-smooth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cube-smooth.c') diff --git a/cube-smooth.c b/cube-smooth.c index f29face..483c2ae 100644 --- a/cube-smooth.c +++ b/cube-smooth.c @@ -218,11 +218,11 @@ static void draw_cube_smooth(unsigned i) glDrawArrays(GL_TRIANGLE_STRIP, 20, 4); } -const struct egl * init_cube_smooth(const struct gbm *gbm) +const struct egl * init_cube_smooth(const struct gbm *gbm, int samples) { int ret; - ret = init_egl(&gl.egl, gbm); + ret = init_egl(&gl.egl, gbm, samples); if (ret) return NULL; -- cgit v1.2.1