From 3147443617d04c62f81eb465b952e7c71335ce93 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 22 Sep 2022 10:12:12 +0900 Subject: [PATCH] [qwaq] Set the console's screen view I had forgotten to test qwaq when removing console view from viddef_t. --- ruamoko/qwaq/builtins/graphics.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruamoko/qwaq/builtins/graphics.c b/ruamoko/qwaq/builtins/graphics.c index 47f51a9cc..e31aa1d27 100644 --- a/ruamoko/qwaq/builtins/graphics.c +++ b/ruamoko/qwaq/builtins/graphics.c @@ -55,6 +55,7 @@ static __attribute__ ((used)) const char rcsid[] = "$Id$"; #include "QF/math/bitop.h" #include "QF/plugin/console.h" +#include "QF/plugin/vid_render.h" #include "rua_internal.h" #include "r_font.h" @@ -346,6 +347,7 @@ BI_Graphics_Init (progs_t *pr) con_module->data->console->frametime = &con_frametime; con_module->data->console->quit = quit_f; con_module->data->console->cbuf = qwaq_cbuf; + con_module->data->console->screen_view = r_data->scr_view; } //Key_SetKeyDest (key_game);