graw/gdi: do not depend on UNICODE macro
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 1 Jun 2020 15:45:23 +0000 (17:45 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 20 Jun 2020 06:51:54 +0000 (06:51 +0000)
commite6fa8ed96854f56abfae92f69b85644289ba6aa4
tree1dc631aaabab05ed1b0a24c383936078f2c9c0dd
parenteda684142050cf54b86f62e147edee921c65fa7e
graw/gdi: do not depend on UNICODE macro

Similar to the previous patch, we currently depend on the UNICODE macro
not being set, but it sometimes ends up getting set after all.

Unlike the previous patch, the easier thing to do here, is to lean into
the Unicode wrappers, and use the TEXT()-macro to define a Unicode
or ASCII literal, depending on the setting of the UNICODE macro.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5497>
src/gallium/targets/graw-gdi/graw_gdi.c