util: limit error-dialogs to win32
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 21 Mar 2022 10:43:54 +0000 (11:43 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Apr 2022 13:15:12 +0000 (13:15 +0000)
commitae73a263551b7eae1b0182e991b2a309835acd6c
tree277f3436645b4dbb992a37f38bfd0739254013b3
parent116553b554f501846241c9d8d1dc6e43010c85a6
util: limit error-dialogs to win32

These dialogs only exist on Windows, so let's not even expose a util
function for this on other platforms.

The code is only ever called from Windows specific code anyway.

While we're at it, clean up the name a bit as well.

Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15485>
src/gallium/frontends/wgl/stw_device.c
src/util/u_debug.c
src/util/u_debug.h