2009/12/15 Stefan Dösinger stefan@codeweavers.com:
Am 15.12.2009 um 08:14 schrieb Henri Verbeet:
2009/12/15 Stefan Dösinger stefan@codeweavers.com:
- && present_parameters->BackBufferCount > 0
"BackBufferCount" is unsigned.
Not even -Wall -pedantic complains about this, but okay. This patch compares against unsigned constants.
My point was just that you might as well just write "present_parameters->BackBufferCount", since it's never going to be below zero.