diff options
author | Rob Clark <robdclark@gmail.com> | 2018-06-17 09:59:38 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-06-19 09:43:09 -0400 |
commit | 9dcce71e603616ee7a54707e932f962cdf8fb20a (patch) | |
tree | 874382698c6e736e9d7bde3af3dd8ef028b38e64 /cube-smooth.c | |
parent | 063ce5c732598b3855775e59b59d9ddffe4ddb24 (diff) | |
download | kmscube-9dcce71e603616ee7a54707e932f962cdf8fb20a.tar.gz |
add MSAA
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'cube-smooth.c')
-rw-r--r-- | cube-smooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |