• Henri Verbeet's avatar
    wined3d: Mark the draw buffer as dirty in context_create(). · cd623036
    Henri Verbeet authored
    Currently callers of this function are responsible for setting the draw buffer
    correctly, but they don't do a very good job:
      - swapchain_init() sets the draw buffer to GL_BACK if there's a back buffer,
        even though the context's target is always the front buffer.
      - swapchain_create_context_for_thread() depends on (eventually) being called
        by FindContext().
      - create_primary_opengl_context() and
        IWineD3DSwapChainImpl_SetDestWindowOverride() don't bother setting a draw
        buffer at all.
    Just marking the draw buffer dirty lets the context management sort it all
    out, and is much simpler.
    cd623036
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...