Henri Verbeet : wined3d: Make minMipLookup_noFilter and magLookup_noFilter const.
Module: wine Branch: master Commit: c7880e89165cc7e471c5db9114449b6a7fb4e818 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7880e89165cc7e471c5db9114... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Nov 26 16:14:40 2008 +0100 wined3d: Make minMipLookup_noFilter and magLookup_noFilter const. Note that minMipLookup and magLookup aren't particularly safe to use, they're global arrays initialized from IWineD3DImpl_FillGLCaps(). The same goes for the other global dynamic lookup tables. --- dlls/wined3d/basetexture.c | 6 ++-- dlls/wined3d/device.c | 28 ++++++++++++------------ dlls/wined3d/directx.c | 46 +++++++++++++++++++++------------------ dlls/wined3d/surface.c | 4 +- dlls/wined3d/wined3d_private.h | 21 +++++++++++------- 5 files changed, 57 insertions(+), 48 deletions(-) Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=c7880e89165cc7e471c5db...
participants (1)
-
Alexandre Julliard