Major push to get renderer separated and configurable.
Signed-off-by: Hartmut Seichter <hartmut@technotecture.com>
This commit is contained in:
parent
77e254872f
commit
d2c8262c68
22 changed files with 542 additions and 97 deletions
|
@ -43,7 +43,7 @@ struct window::impl {
|
|||
|
||||
GLFWwindow *_window = nullptr;
|
||||
|
||||
sizei _old_size;
|
||||
::pw::size _old_size;
|
||||
pointi _old_pos;
|
||||
|
||||
// window_context _context;
|
||||
|
@ -233,7 +233,7 @@ struct window::impl {
|
|||
glfwSetWindowTitle(_window,title.c_str());
|
||||
}
|
||||
|
||||
void set_size(const ::pw::sizei& s)
|
||||
void set_size(const ::pw::size& s)
|
||||
{
|
||||
glfwSetWindowSize(_window,s.width,s.height);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue