shithub: duke3d

Download patch

ref: 7d20ba048e9b9513397d92153a6e665773bd876a
parent: e67a92f2f600fbc76d47fc925e1ea97f80a7c744
author: Tanguy Fautre <tanguy@fautre.com>
date: Sat Feb 22 08:31:40 EST 2020

Initialise numpages = 1

--- a/Engine/src/display.c
+++ b/Engine/src/display.c
@@ -113,6 +113,7 @@
 
 	printf("init_new_res_vars %d %d\n",xdim,ydim);
 
+	numpages = 1; // we always expose the same surface to the drawing engine.
 	bytesperline = surface->w;
 	vesachecked = 1;
 	vgacompatible = 1;