mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
drisw: fix build without dri3
commit1887368df4("glx/sw: check for modifier support in the kopper path") added dri3_priv.h header and dri3_check_multibuffer() function in drisw that can be build without dri3. Commit4477139ec2added a guard around dri3_check_multibuffer() function but not around dri3_priv.h header. Add HAVE_DRI3 guard around dri3_priv.h header. Fixes:1887368df4("glx/sw: check for modifier support in the kopper path") v2: Remove the guard around dri3_check_multibuffer() function. Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Antoine Coutant <antoine.coutant@smile.fr> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27478> (cherry picked from commit3163b65ba7)
This commit is contained in:
parent
e462e3cc39
commit
c2739fefe3
2 changed files with 3 additions and 1 deletions
|
|
@ -4564,7 +4564,7 @@
|
|||
"description": "drisw: fix build without dri3",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "1887368df4166ae854245c0306d43661ef120e42",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@
|
|||
#include <dlfcn.h>
|
||||
#include "dri_common.h"
|
||||
#include "drisw_priv.h"
|
||||
#ifdef HAVE_DRI3
|
||||
#include "dri3_priv.h"
|
||||
#endif
|
||||
#include <X11/extensions/shmproto.h>
|
||||
#include <assert.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue