[PATCH 14/15] wined3d: Add device->isInDraw checks in LoadLocation.

Stefan Dösinger stefan at codeweavers.com
Tue Apr 8 00:57:21 CDT 2008


Am Dienstag, 8. April 2008 00:35:14 schrieb Alexander Dorofeyev:
> On the other hand, it is pretty tricky. Also Stefan believes adding
> isInDraw checks everywhere isn't especially nice, but ultimately to prevent
> all situations of ActivateContext inside ENTER_GL/LEAVE_GL  with isInDraw
> approach this would've to be added in more places. I'm not sure about this
> myself, perhaps I'll better not hurry with it and some better ideas may
> come.
The original idea of this flag was to mark that the stateblock is finalized. 
It was never intended to give information about the opengl state(which this 
patches are doing), so if we're doing that we have to work out some ruleset 
about it.



More information about the wine-devel mailing list