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: fdfe4a4d30 ("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 9aff548ff4)
This commit is contained in:
Erik Faye-Lund 2021-06-22 19:37:18 +02:00 committed by Eric Engestrom
parent 807fac6371
commit 9f3f84ab3c
2 changed files with 2 additions and 1 deletions

View file

@ -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"
},

View file

@ -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