mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
use video.width instead of video.pitch
This commit is contained in:
parent
fe20c4903c
commit
f2fa2bc44c
@ -488,7 +488,7 @@ static void DrawFuzzColumnBlocky(void)
|
|||||||
|
|
||||||
int lines = fuzzblocksize - (dc_yl % fuzzblocksize);
|
int lines = fuzzblocksize - (dc_yl % fuzzblocksize);
|
||||||
|
|
||||||
const int fuzzblockwidth = MIN(fuzzblocksize, linesize - dc_x);
|
const int fuzzblockwidth = MIN(fuzzblocksize, video.width - dc_x);
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
@ -582,7 +582,7 @@ static void DrawFuzzColumnRefraction(void)
|
|||||||
|
|
||||||
int lines = fuzzblocksize - (dc_yl % fuzzblocksize);
|
int lines = fuzzblocksize - (dc_yl % fuzzblocksize);
|
||||||
|
|
||||||
const int fuzzblockwidth = MIN(fuzzblocksize, linesize - dc_x);
|
const int fuzzblockwidth = MIN(fuzzblocksize, video.width - dc_x);
|
||||||
|
|
||||||
int dark = FUZZDARK;
|
int dark = FUZZDARK;
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user