Fixing error to create the window in a safely way
This commit is contained in:
parent
ac620fb3b7
commit
aea1ee6822
2 changed files with 12 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ namespace gui {
|
|||
const GLFWframebuffersizefun framebufferCallback,
|
||||
const bool debugOpengl,
|
||||
GLFWwindow *shared,
|
||||
const std::initializer_list<Window::modulesType::value_type> initializer
|
||||
const std::initializer_list<modulesType::value_type> initializer
|
||||
) noexcept {
|
||||
if (!init) {
|
||||
glfwSetErrorCallback(errorCallback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue