diff options
author | Uli Schlachter <psychon@znc.in> | 2014-08-18 10:38:48 +0200 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2014-08-25 19:15:34 -0400 |
commit | b0e6c2de09c7474868dd7185674fa113a5c2e0aa (patch) | |
tree | 72967b3fbc9ebfe2f88c4466645a61e8c52d6ba6 /xcb-glx.pc.in | |
parent | c4e40f646b8da4fd112ea54a612c880be5e942a8 (diff) |
xcb_get_setup(): Never return NULL
The documentation doesn't mention it and it's unlikely that a lot of code out
there handles this case correctly. So, instead of returning NULL, let
xcb_get_setup() return a pointer to a static, invalid, all-zero setup
information structure.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'xcb-glx.pc.in')
0 files changed, 0 insertions, 0 deletions