Am Mittwoch, 30. November 2011, 06:01:46 schrieb Henri Verbeet:
- if (flags & WINED3D_SURFACE_PIN_SYSMEM)
surface->flags |= SFLAG_PIN_SYSMEM;
The address will still change when GetDC is called. Is this intentional?
/* Some applications assume that the primary surface will always be
* mapped at the same address. Some of those also assume that this
* address is valid even when the surface isn't mapped, and that
* updates done this way will be visible on the screen. The game
Nox
* is such an application. */
I've seen ddraw applications that create systemmem primaries, and we currently allow this. What surface caps does Nox use?
Does Nox expect us to magically pick up the new data, or does it map and unmap the surface to get the data onto the screen?