mesa/src/gallium/targets
Antonio Ospite 663c9faf73 dril: fix returning _Bool instead of pointer
When building for C23 the compiler warns about returning a boolean when
a different type is expected instead.

Change the code to return NULL instead of false, fixing the following
error:

-----------------------------------------------------------------------
../src/gallium/targets/dril/dril_target.c: In function ‘init_dri2_configs’:
../src/gallium/targets/dril/dril_target.c:362:14: error: incompatible types when returning type ‘_Bool’ but ‘const __DRIconfig **’ {aka ‘const struct __DRIconfigRec **’} was expected
  362 |       return false;
      |              ^~~~~
-----------------------------------------------------------------------

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36323>
2025-07-29 14:07:07 +00:00
..
d3d10umd format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
dri rocket: Initial commit of a driver for Rockchip's NPU 2025-07-28 08:06:38 +02:00
dril dril: fix returning _Bool instead of pointer 2025-07-29 14:07:07 +00:00
lavapipe vulkan: Specify library_arch in ICD files 2025-06-19 17:30:24 +00:00
libgl-gdi glapi: Make _GLAPI_EXPORT a no-op on Windows. 2025-03-25 17:11:07 +00:00
libgl-xlib glapi: remove unused _mesa_glapi_Dispatch 2025-03-27 05:46:34 +00:00
mediafoundation mediafoundation: make file version the same as product version, and increment version to 1.0.6 2025-07-08 14:50:28 +00:00
rusticl rusticl: Enable on freedreno 2024-10-27 14:04:41 +00:00
teflon teflon: Link to the rocket driver 2025-07-28 08:06:38 +02:00
va meson/megadriver: support various lib suffixes 2024-11-26 20:45:41 +00:00
vdpau meson/megadriver: support various lib suffixes 2024-11-26 20:45:41 +00:00
wgl glapi: Make _GLAPI_EXPORT a no-op on Windows. 2025-03-25 17:11:07 +00:00
dri.dyn meson: Rename dri-vdpau.dyn to dri.dyn 2023-08-16 16:57:54 +00:00