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-video.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-video.c')
-rw-r--r-- | cube-video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cube-video.c b/cube-video.c index 03bfb80..8cb8f24 100644 --- a/cube-video.c +++ b/cube-video.c @@ -301,12 +301,12 @@ static void draw_cube_video(unsigned i) gl.last_fence = egl->eglCreateSyncKHR(egl->display, EGL_SYNC_FENCE_KHR, NULL); } -const struct egl * init_cube_video(const struct gbm *gbm, const char *filenames) +const struct egl * init_cube_video(const struct gbm *gbm, const char *filenames, int samples) { char *fnames, *s; int ret, i = 0; - ret = init_egl(&gl.egl, gbm); + ret = init_egl(&gl.egl, gbm, samples); if (ret) return NULL; |