This commit is contained in:
chatlanin
2025-01-23 21:04:56 +03:00
parent 44ca1ffb3e
commit 67c5d75627

View File

@@ -198,10 +198,8 @@ namespace VE
glfwSetWindowSizeCallback(m_win, [](GLFWwindow* w, int width, int height)
{
auto d = static_cast<win_data*>(glfwGetWindowUserPointer(w));
hack::log()(d->m_width);
d->m_width = width;
d->m_height = height;
hack::log()(d->m_width);
event e{ event_type::WINDOW_RESIZE, std::pair<float, float>{ static_cast<float>(width), static_cast<float>(height) } };
d->execute(e);