Major push to get renderer separated and configurable.

Signed-off-by: Hartmut Seichter <hartmut@technotecture.com>
This commit is contained in:
Hartmut Seichter 2021-01-05 00:23:03 +01:00
parent 77e254872f
commit d2c8262c68
22 changed files with 542 additions and 97 deletions

View file

@ -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);
}