[RFC] wined3d: Avoid triggering OPENGL errors when setting point size
plr.vincent at gmail.com
Mon Dec 22 17:43:44 CST 2008
If WINED3DRS_POINTSCALEENABLE is false and WINED3DRS_POINTSIZE render state is
set to an invalid size, glPointSize will fail.
This happens in "Black & White 2", causing log/stderr to be flooded with
I'm not sure if this should be fixed here, or when setting state value.
Also, maybe it should be avoided to double-check against opengl bounds when
WINED3DRS_POINTSCALEENABLE is true.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 685 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081223/c4b38501/attachment.diff
More information about the wine-patches