mesa/src
Kenneth Graunke 21b7c58b8a i965: Don't use GCC extension for ?: with only two operands.
From the "apparently I don't know C" files...GCC apparently supports:

    x ?: y

which is equivalent to

    x ? x : y

except that it doesn't cause side-effects to occur twice.  See:
https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html#Conditionals

This was confusing and looked like a typo.  It doesn't really buy us
anything, so just write the obvious code in normal C.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
2015-06-29 22:21:02 -07:00
..
egl egl/haiku: fix Mesa build under Haiku 2015-06-29 23:30:59 -05:00
gallium nv30: align transfer stride to 64, required by blit, sifm transfer impls 2015-06-29 23:03:27 -04:00
gbm mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
getopt
glsl util: port _mesa_strto[df] to C 2015-06-29 09:06:40 -07:00
glx glx: Use loader_open_device() helper 2015-06-23 16:54:53 +01:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: move loader_open_device out of HAVE_LIBUDEV block 2015-06-24 13:43:44 +01:00
mapi mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
mesa i965: Don't use GCC extension for ?: with only two operands. 2015-06-29 22:21:02 -07:00
util mesa/main: free locale at exit 2015-06-29 09:06:40 -07:00
Makefile.am mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
SConscript scons: Don't build loader on Windows. 2015-03-25 10:42:35 +00:00