Fixing error to create the window in a safely way

This commit is contained in:
Pcornat 2025-05-30 22:43:24 +02:00
commit aea1ee6822
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
2 changed files with 12 additions and 3 deletions

View file

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