Adding glew as OpenGL initialization in a different scope
This commit is contained in:
parent
b8c9268911
commit
66e43ba333
5 changed files with 60 additions and 19 deletions
16
include/opengl_context.hpp
Normal file
16
include/opengl_context.hpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue