DXGL r709 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r708‎ | r709 | r710 >
Date:05:56, 30 May 2017
Author:admin
Status:new
Tags:
Comment:
Fix saving non-square first scale modes.
Modified paths:
  • /cfgmgr/cfgmgr.c (modified) (history)

Diff [purge]

Index: cfgmgr/cfgmgr.c
@@ -537,7 +537,7 @@
538538 WriteBool(hKey,cfg->colormode,cfgmask->colormode,_T("ChangeColorDepth"));
539539 WriteDWORD(hKey, cfg->firstscalefilter, cfgmask->firstscalefilter, _T("FirstScaleFilter"));
540540 WriteFloat(hKey, cfg->firstscalex, cfgmask->firstscalex, _T("FirstScaleX"));
541 - WriteFloat(hKey, cfg->firstscalex, cfgmask->firstscalex, _T("FirstScaleY"));
 541+ WriteFloat(hKey, cfg->firstscaley, cfgmask->firstscaley, _T("FirstScaleY"));
542542 WriteDWORD(hKey,cfg->scalingfilter,cfgmask->scalingfilter,_T("ScalingFilter"));
543543 WriteDWORD(hKey,cfg->texfilter,cfgmask->texfilter,_T("TextureFilter"));
544544 WriteDWORD(hKey,cfg->anisotropic,cfgmask->anisotropic,_T("AnisotropicFiltering"));