Commit 569af691 authored by chili's avatar chili
Browse files

gotta store that width/height

parent 596e2ee6
...@@ -69,6 +69,9 @@ HINSTANCE Window::WindowClass::GetInstance() noexcept ...@@ -69,6 +69,9 @@ HINSTANCE Window::WindowClass::GetInstance() noexcept
// Window Stuff // Window Stuff
Window::Window( int width,int height,const char* name ) Window::Window( int width,int height,const char* name )
:
width( width ),
height( height )
{ {
// calculate window size based on desired client region size // calculate window size based on desired client region size
RECT wr; RECT wr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment