16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 15:49:19 +02:00
This commit is contained in:
milek7
2017-08-18 11:48:13 +02:00
parent ec60853614
commit 6b5084e855
6 changed files with 10 additions and 12 deletions

View File

@@ -26,6 +26,7 @@ ui_layer::~ui_layer() {
bool
ui_layer::init( GLFWwindow *Window ) {
m_window = Window;
#ifndef _WIN32
Global::bGlutFont = true;
@@ -43,7 +44,6 @@ ui_layer::init( GLFWwindow *Window ) {
}
#ifdef _WIN32
m_window = Window;
HFONT font; // Windows Font ID
m_fontbase = ::glGenLists(96); // storage for 96 characters
HDC hDC = ::GetDC( glfwGetWin32Window( m_window ) );