wined3d: Improve detection of device palette change.
Stefan Dösinger
stefan at codeweavers.com
Fri Mar 28 16:25:53 CDT 2008
Am Freitag, 28. März 2008 20:34:11 schrieb Alexander Dorofeyev:
> ENTER_GL();
> + if (This->resource.format == WINED3DFMT_P8 || This->resource.format ==
> WINED3DFMT_A8P8) {
> + for (i = 0; i < This->baseTexture.levels; i++) {
> + if(palette9_changed((IWineD3DSurfaceImpl *)This->surfaces[i])){
Why are you doing this inside ENTER_GL? I think LoadLocation locks on its own.
More information about the wine-devel
mailing list