On 1 November 2010 11:41, Stefan Dösinger stefandoesinger@gmx.at wrote:
Am 01.11.2010 um 10:41 schrieb Henri Verbeet:
On 31 October 2010 22:53, Stefan Dösinger stefan@codeweavers.com wrote:
- static const struct
- {
- float x, y, z;
- float u, v;
- }
- quad[] =
- {
- {-1.0, -1.0, 0.1, 0.0, 0.0},
- {-1.0, 1.0, 0.1, 1.0, 0.0},
- { 1.0, -1.0, 0.1, 0.0, 1.0},
- { 1.0, 1.0, 0.1, 1.0, 1.0}
- };
Not that I care all that much, but notice that those literals are actually doubles.
Now that I've fixed a number of those I guess we should stick to caring about that.
You should probably do the Clear()'s too then.