mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
refactoring: basic application code wrapper
This commit is contained in:
@@ -10,6 +10,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "stdafx.h"
|
||||
#include "Console.h"
|
||||
#include "Globals.h"
|
||||
#include "application.h"
|
||||
#include "LPT.h"
|
||||
#include "Logs.h"
|
||||
#include "PoKeys55.h"
|
||||
@@ -247,7 +248,7 @@ void Console::BitsUpdate(int mask)
|
||||
|
||||
bool Console::Pressed(int x)
|
||||
{ // na razie tak - czyta się tylko klawiatura
|
||||
if (glfwGetKey(Global.window, x) == GLFW_TRUE)
|
||||
if (glfwGetKey(Application.window(), x) == GLFW_TRUE)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user