mesa/src/glx
Thomas H.P. Andersen 7daba1fe65 replace 0 with NULL for NULL pointers
This updates many places where 0 is used as NULL pointer.

There are a few warnings left when I build the default
configuration but they either relate to code
outside of mesa or where "None" is used instead.

Found with static analysis (smatch)

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12174>
2022-01-10 22:53:32 +00:00
..
apple glx: Fix macOS build. 2021-05-02 14:16:07 +00:00
tests glx: add a workaround to glXDestroyWindow for Viewperf2020/Sw 2021-11-17 21:26:54 +00:00
windows glx: Remove windows' stub {bind,release}_text_image context hooks 2021-03-19 11:13:07 -04:00
applegl_glx.c glx: Implement GLX_EXT_no_config_context 2021-04-23 21:15:19 +00:00
clientattrib.c glx: Move __glFreeAttributeState next to its one caller 2021-09-27 09:36:44 -04:00
clientinfo.c glx: Stop pretending the GLX major number isn't 1 2021-04-29 20:34:25 +00:00
compsize.c
create_context.c glx/drirc: add a force_direct_glx_context option 2021-11-04 13:59:00 +01:00
dri2.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
dri2.h
dri2_glx.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
dri2_priv.h glx: Delegate the core of glXGetScreenDriver to the GLX screen vtable 2020-10-21 10:24:31 -04:00
dri3_glx.c loader/dri3: add drawable type set by GLX and EGL 2021-12-07 03:26:13 +00:00
dri3_priv.h gallium: add PIPE_CAP_PREFER_BACK_BUFFER_REUSE 2021-09-29 08:14:57 +00:00
dri_common.c glx: fix regression for drawable type detection 2021-12-09 00:52:17 +00:00
dri_common.h glx/dri: Collect the GLX context attributes in a struct 2021-08-18 21:11:02 +00:00
dri_common_interop.c
dri_common_query_renderer.c
drisw_glx.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
drisw_priv.h
driwindows_glx.c glx: add drawable type argument when create drawable 2021-12-07 03:26:13 +00:00
eval.c
g_glxglvnddispatchfuncs.c glx: init __GLXvendorInfo to NULL 2021-04-29 20:34:25 +00:00
g_glxglvnddispatchindices.h glx: Provide glvnd wrapper for glXSwapIntervalEXT 2021-01-22 22:34:23 -08:00
glx_error.c glx: Stash a copy of the XExtCodes in the glx_display 2021-04-29 20:34:25 +00:00
glx_error.h
glx_pbuffer.c glx: fix querying GLX_FBCONFIG_ID for Window 2021-12-16 01:21:36 +00:00
glx_query.c glx: Remove unused opcode argument to __glX{Get,QueryServer}String 2021-04-29 20:34:25 +00:00
glxclient.h glx: add drawable type argument when create drawable 2021-12-07 03:26:13 +00:00
glxcmds.c glx: Fix GLX_NV_float_buffer fbconfig handling 2021-12-16 22:05:20 +00:00
glxconfig.c glx: Fix GLX_NV_float_buffer fbconfig handling 2021-12-16 22:05:20 +00:00
glxconfig.h glx: Fix GLX_NV_float_buffer fbconfig handling 2021-12-16 22:05:20 +00:00
glxcurrent.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
glxext.c glx: Fix GLX_NV_float_buffer fbconfig handling 2021-12-16 22:05:20 +00:00
glxextensions.c glx: Stop force-enabling extensions "implied" by GLX 1.3 2021-04-29 20:34:25 +00:00
glxextensions.h glx: Stop force-enabling extensions "implied" by GLX 1.3 2021-04-29 20:34:25 +00:00
glxglvnd.c
glxglvnd.h
glxglvnddispatchfuncs.h
glxhash.c
glxhash.h
indirect_glx.c glx: Move __glFreeAttributeState next to its one caller 2021-09-27 09:36:44 -04:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: remove a set but not used variable 2021-12-22 17:02:00 +00:00
indirect_vertex_array.h
indirect_vertex_array_priv.h
indirect_vertex_program.c
indirect_window_pos.c
meson.build glx: Don't pointlesly add -D_REENTRANT to libGL's cflags 2021-04-13 22:58:58 +00:00
packrender.h replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
packsingle.h replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
pixel.c
pixelstore.c
query_renderer.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
render2.c
renderpix.c
single2.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
singlepix.c glapi: Remove remnants of EXT_paletted_texture and the imaging subset 2021-12-08 03:42:44 +00:00
vertarr.c
xfont.c