Module: wine Branch: master Commit: ee4d18cc836ab0361ac1296f884e53b63b54e514 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ee4d18cc836ab0361ac1296f88...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jul 21 11:51:07 2009 +0200
wined3d: Pass NULL to ActivateContext() when we don't need a specific target.
Once we keep track of the wined3d context for each thread, lastActiveRenderTarget won't do what we want here.
---
dlls/wined3d/arb_program_shader.c | 4 ++-- dlls/wined3d/basetexture.c | 6 +++--- dlls/wined3d/buffer.c | 10 +++++----- dlls/wined3d/context.c | 5 ++++- dlls/wined3d/cubetexture.c | 2 +- dlls/wined3d/device.c | 24 ++++++++++++------------ dlls/wined3d/drawprim.c | 2 +- dlls/wined3d/glsl_shader.c | 4 ++-- dlls/wined3d/surface.c | 22 +++++++++++----------- dlls/wined3d/texture.c | 2 +- dlls/wined3d/volumetexture.c | 2 +- 11 files changed, 43 insertions(+), 40 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=ee4d18cc836ab0361ac129...