Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Work around crappy code-gen in VS2015.
Browse files Browse the repository at this point in the history
  • Loading branch information
poppeman committed Nov 16, 2015
1 parent ce364f3 commit 672870c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/deps/illa/filter_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ namespace Filter {
for(int nx = 0; nx < cseX.num; ++nx) {
float contrib = xcontribs[xindex + nx] * ycontrib;
density += contrib;
cDest += pixelConverter(*(currSourceScan++)) * contrib;
cDest += pixelConverter(*currSourceScan) * contrib;
currSourceScan++;
}

currSourceScanByte += source.Stride;
}
if (density != 0.0f && density != 1.0f)
Expand Down

0 comments on commit 672870c

Please sign in to comment.