I'm note sure whether to open a ticket here or on the mesa bugtracker, so I'm just doing it here.
SetPixelFormat is supposed to be called only once (as stated by mdsn, etc.)
However Windows and wine Will return true when SetPixelFormat is called again with the same (already set) pixel format, mesa?/zink? however will return false.
So in the end this boils down to, what would be the desired behaviour for zink/mesa win:
a) be anal about SetPixelFormat being called again
b) silently ignore SetPixelFormat calls in case the format requested is the one already set to be consistent with Windows and Wine behaviour.
I'm note sure whether to open a ticket here or on the mesa bugtracker, so I'm just doing it here.
SetPixelFormat is supposed to be called only once (as stated by mdsn, etc.)
However Windows and wine Will return true when SetPixelFormat is called again with the same (already set) pixel format, mesa?/zink? however will return false.
So in the end this boils down to, what would be the desired behaviour for zink/mesa win: a) be anal about SetPixelFormat being called again b) silently ignore SetPixelFormat calls in case the format requested is the one already set to be consistent with Windows and Wine behaviour.