#include"Context.h" #include"../global/Config.h" #include Context::Context(HINSTANCE p_hInstance): m_window(m_input), m_renderer(m_gpu), m_audioManager(m_audioEngine) { m_window.initWindow(p_hInstance,SCREEN_WIDTH,SCREEN_HEIGHT); m_gpu.initGL(SCREEN_WIDTH, SCREEN_HEIGHT, m_window.getCanvas()); m_gpu.test += std::bind(&Window::Test, m_window, std::placeholders::_1); } Context::~Context() { }