mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 15:30:00 +01:00
OSX compilation
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 17 KiB |
BIN
osx/vimix.icns
BIN
osx/vimix.icns
Binary file not shown.
@@ -134,6 +134,7 @@ static void WindowResizeCallback( GLFWwindow *w, int width, int height)
|
||||
// UI manager tries to keep windows in the workspace
|
||||
WorkspaceWindow::notifyWorkspaceSizeChanged(Rendering::manager().mainWindow().previous_size.x, Rendering::manager().mainWindow().previous_size.y, width, height);
|
||||
Rendering::manager().mainWindow().previous_size = glm::vec2(width, height);
|
||||
Rendering::manager().draw();
|
||||
}
|
||||
|
||||
int id = Rendering::manager().window(w)->index();
|
||||
@@ -143,7 +144,6 @@ static void WindowResizeCallback( GLFWwindow *w, int width, int height)
|
||||
Settings::application.windows[id].h = height;
|
||||
}
|
||||
|
||||
Rendering::manager().draw();
|
||||
}
|
||||
|
||||
static void WindowMoveCallback( GLFWwindow *w, int x, int y)
|
||||
|
||||
Reference in New Issue
Block a user