pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
864 stars 78 forks source link

[zink?] SetPixelFormat does not return true when trying to set the same pixel format again #127

Open hanfling opened 1 year ago

hanfling commented 1 year ago

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.

pal1000 commented 1 year ago

You need to discuss this upstream.