moved width height to window

This commit is contained in:
Jorijn van der Graaf 2025-11-25 02:21:06 +01:00
commit 3534f2e782
3 changed files with 36 additions and 6 deletions

View file

@ -47,7 +47,7 @@ import Crafter.Event;
using namespace Crafter;
WindowFramebuffer::WindowFramebuffer(std::uint_fast32_t width, std::uint_fast32_t height) : width(width), height(height) {
WindowFramebuffer::WindowFramebuffer(std::uint_fast32_t width, std::uint_fast32_t height) : Window(width, height) {
}