Age | Commit message (Collapse) | Author |
|
An improved workaround has now been committed.
This reverts commit 692fd8a500e0f9eadc703b29b0c7550f57863e29.
|
|
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.
|
|
Add explicit casts, fix constant types, fix variable types.
Fixes about 340 warnings in MSFT Visual Studio.
|
|
These functions clear color/depth/stencil buffers with a value that's
passed to the function, rather than the context clear values.
For now these functions are implemented in terms of the existing
ctx->Driver.Clear() hook. In the future when we have non-normalized
integer and unsigned integer color buffer formats we'll need new
driver hook(s) to pass int and uint clear values to the driver.
Note: these functions are not hooked into the dispatch table at this time.
|
|
|