WiP
This commit is contained in:
parent
0cd3c99119
commit
bf41ce9544
3 changed files with 10 additions and 3 deletions
|
@ -146,8 +146,16 @@ struct window::impl {
|
|||
if (!glfwInit())
|
||||
{
|
||||
debug::e() << "Initalization error";
|
||||
|
||||
}
|
||||
|
||||
int glfw_major, glfx_minor,glfw_rev;
|
||||
glfwGetVersion(&glfw_major,&glfx_minor,&glfw_rev);
|
||||
|
||||
|
||||
debug::d() << "GLFW " << glfw_major << "." << glfx_minor << "." << glfw_rev;
|
||||
debug::d() << "GLFW header " << GLFW_VERSION_MAJOR << "." << GLFW_VERSION_MINOR << "." << GLFW_VERSION_REVISION;
|
||||
|
||||
update_display_list();
|
||||
|
||||
// request specific version 3.3
|
||||
|
@ -206,7 +214,6 @@ struct window::impl {
|
|||
{
|
||||
if (_window && !glfwWindowShouldClose(_window))
|
||||
{
|
||||
|
||||
input::get().reset();
|
||||
|
||||
// get new events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue