diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2021-06-22 19:37:18 +0200 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2021-06-26 17:48:33 +0100 |
commit | 9f3f84ab3c178a040d99df140481e3ee81f415cd (patch) | |
tree | ea63ae89750c1c66505a713b993f7890f6106160 | |
parent | 807fac6371ef52b50734f2df45fb217d56ddbadb (diff) | |
download | mesa-9f3f84ab3c178a040d99df140481e3ee81f415cd.tar.gz |
libgl-gdi: add missing include
Without this, I get the following error if I try to compile Zink without
any other drivers:
src/gallium/targets/libgl-gdi/libgl_gdi.c(210): error C2037: left of
'flush_frontbuffer' specifies undefined struct/union 'pipe_screen'
Fixes: fdfe4a4d307 ("libgl-gdi: add zink support")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11536>
(cherry picked from commit 9aff548ff4f6c2d52bfca972050324e0eba043ec)
-rw-r--r-- | .pick_status.json | 2 | ||||
-rw-r--r-- | src/gallium/targets/libgl-gdi/libgl_gdi.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json index 3338a0773be..d396cec37db 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -769,7 +769,7 @@ "description": "libgl-gdi: add missing include", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "fdfe4a4d307377f078a01d05a247c4f61d208be8" }, diff --git a/src/gallium/targets/libgl-gdi/libgl_gdi.c b/src/gallium/targets/libgl-gdi/libgl_gdi.c index 119612ba9c5..12ec8ffd744 100644 --- a/src/gallium/targets/libgl-gdi/libgl_gdi.c +++ b/src/gallium/targets/libgl-gdi/libgl_gdi.c @@ -41,6 +41,7 @@ #include "stw_winsys.h" #include "stw_device.h" #include "gdi/gdi_sw_winsys.h" +#include "pipe/p_screen.h" #include "pipe/p_context.h" #ifdef GALLIUM_SOFTPIPE |