mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
Merge branch 'revgraphics'
Conflicts: src/framework/CMakeLists.txt src/framework/application.cpp src/framework/graphics/graphics.cpp
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include <framework/ui/uiwidget.h>
|
||||
#include <framework/graphics/graphics.h>
|
||||
#include <framework/graphics/particlesmanager.h>
|
||||
#include <framework/graphics/painter.h>
|
||||
#include <framework/luascript/luainterface.h>
|
||||
|
||||
Application *g_app = nullptr;
|
||||
@@ -135,7 +136,6 @@ void Application::terminate()
|
||||
// terminate graphics
|
||||
if(m_appFlags & Fw::AppEnableGraphics) {
|
||||
g_ui.terminate();
|
||||
g_graphics.terminate();
|
||||
g_window.terminate();
|
||||
}
|
||||
|
||||
@@ -222,8 +222,8 @@ void Application::render()
|
||||
|
||||
void Application::resize(const Size& size)
|
||||
{
|
||||
g_graphics.resize(size);
|
||||
g_ui.resize(size);
|
||||
g_graphics.resize(size);
|
||||
}
|
||||
|
||||
void Application::inputEvent(const InputEvent& event)
|
||||
|
||||
Reference in New Issue
Block a user