diff options
author | Hoe Hao Cheng <haochengho12907@gmail.com> | 2023-03-27 21:14:50 +0800 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-04-04 19:56:58 +0000 |
commit | cc6ec4130e6c69e0b9a2da5e5ebf64efac945f02 (patch) | |
tree | 4cf848d78cbcf3062519a8a3bcda646412304998 /src/egl/opengl/egltri.c | |
parent | 392abdc986d8ff34ee7b52a4da54429a9cbaa45a (diff) | |
download | mesa-demos-cc6ec4130e6c69e0b9a2da5e5ebf64efac945f02.tar.gz |
egl: trigger redraw on keypress and window resizing on demos
Otherwise on those demos the graphics will never update on Wayland. The
X11 WSI forces a redraw on each keypress so this went unnoticed for a
long time.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Diffstat (limited to 'src/egl/opengl/egltri.c')
-rw-r--r-- | src/egl/opengl/egltri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/opengl/egltri.c b/src/egl/opengl/egltri.c index d378f521..77e89c77 100644 --- a/src/egl/opengl/egltri.c +++ b/src/egl/opengl/egltri.c @@ -118,6 +118,7 @@ special_key(int special) default: break; } + eglutPostRedisplay(); } int |