Module: wine Branch: master Commit: 759bad0202463f5588f6e534eca0c95a48d72b3a URL: http://source.winehq.org/git/wine.git/?a=commit;h=759bad0202463f5588f6e534ec...
Author: Diego Nieto Cid dnietoc@gmail.com Date: Sat Jan 7 12:23:47 2012 -0300
wined3d: Convert rtInternal and glGammaInternal.
---
dlls/wined3d/surface.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f2a09dc..bf379f1 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -4531,6 +4531,12 @@ HRESULT d3dfmt_get_conv(const struct wined3d_surface *surface, BOOL need_alpha_c break; }
+ if (*convert != NO_CONVERSION) + { + format->rtInternal = format->glInternal; + format->glGammaInternal = format->glInternal; + } + return WINED3D_OK; }