diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-09-20 18:32:50 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-02-18 15:39:25 +0100 |
commit | dd990670444498c8a8ce2da35e099a490d7dd0b9 (patch) | |
tree | 80d92b7ed2c488e39c56e12a85570fa8c6b08ed2 /src/mesa/main/clear.h | |
parent | 5f9bc8bb9be6ed0a5af0a1574e5d55d6ff161396 (diff) |
Nasty workaround for apparent GCC bug
This is a horrible workaround for what I think must be a GCC bug. Remove that usleep(1),
or go back to the original CLAMP() macro, and glxdemo will have a white background
instead of a grey one. That is to say, the value 0.5 is getting clamped to 1.0 because
of some underlying floating-point weirdness. This happens when cross-compiling for
armv4t-angstrom-linux-gnueabi with GCC version 4.1.1 or 4.3.2.
Diffstat (limited to 'src/mesa/main/clear.h')
0 files changed, 0 insertions, 0 deletions