ref: 1025025f1f4b78ad77a91ec8706f586c220d6738
parent: 28e3d7689eb0c017278f8c1367d8ce6ffcebafa8
author: qwx <devnull@localhost>
date: Thu May 31 01:11:33 EDT 2018
doom: don't set repl if scale is 1
--- a/sys/src/games/doom/i_video.c
+++ b/sys/src/games/doom/i_video.c
@@ -116,7 +116,7 @@
Pt(scale*SCREENWIDTH/2, scale*SCREENHEIGHT/2));
/* the row image, y-axis gets scaled with repl flag */
- rowimg = allocimage(display, Rect(0, 0, scale*SCREENWIDTH, 1), RGB24, 1, DNofill);
+ rowimg = allocimage(display, Rect(0, 0, scale*SCREENWIDTH, 1), RGB24, scale > 1, DNofill);
if(rowimg == nil)
sysfatal("allocimage: %r");--
⑨