From d531266b273720c0fca8818f0a2d3a6199e10daa Mon Sep 17 00:00:00 2001 From: Julian Hinxlage Date: Tue, 26 Nov 2019 15:49:51 +0100 Subject: [PATCH] ~ set resolution to the shared memory values --- main/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/main.cpp b/main/main.cpp index 49a775d..a13a01d 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -23,8 +23,8 @@ int main() { std::string currentText; /*************************set back to shared memory(only for test)********************************************/ - int windowWidth = 40; - int windowHeight = 15; + int windowWidth = vkvm::getWidth(); + int windowHeight = vkvm::getHeight(); vkvm::setWidth(windowWidth); vkvm::setHeight(windowHeight);