Adding glew as OpenGL initialization in a different scope

This commit is contained in:
Pcornat 2026-01-05 22:24:00 +01:00
commit 66e43ba333
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
5 changed files with 60 additions and 19 deletions

View file

@ -0,0 +1,16 @@
//
// Created by postaron on 05/01/2026.
//
#ifndef WINDOWGLFWGLLIB_OPENGL_CONTEXT_HPP
#define WINDOWGLFWGLLIB_OPENGL_CONTEXT_HPP
namespace gui {
class Window;
}
namespace opengl {
[[nodiscard]] bool init_glew(const gui::Window &win) noexcept;
}
#endif //WINDOWGLFWGLLIB_OPENGL_CONTEXT_HPP