diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2021-03-08 19:31:21 +0100 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2021-03-10 16:45:33 +0100 |
commit | dbb3f52235ebf5e5e4be914e75b5a99f41407e09 (patch) | |
tree | 803c6774b13d231869610f7f4b8b91cb3fd33161 | |
parent | a49439d0d409b7a5ca45aa513d7769cbc21744ea (diff) |
tests/glx: remove unnecessary calls to XMapWindow
They're already done by default in _piglit_get_glx_window.
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/489>
-rw-r--r-- | tests/glx/glx-make-current.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/glx/glx-make-current.c b/tests/glx/glx-make-current.c index fd284ba70..108ecc3b0 100644 --- a/tests/glx/glx-make-current.c +++ b/tests/glx/glx-make-current.c @@ -96,9 +96,6 @@ main(int argc, char **argv) win_one = piglit_get_glx_window(dpy, visinfo); win_two = piglit_get_glx_window(dpy, visinfo); - XMapWindow(dpy, win_one); - XMapWindow(dpy, win_two); - piglit_glx_event_loop(dpy, draw); return 0; |