add guide

This commit is contained in:
ben de roo
2026-09-06 21:30:55 +02:00
parent 3a2a671325
commit f6f1988943
22 changed files with 485 additions and 79 deletions
+3 -3
View File
@@ -13,7 +13,7 @@
// loaders are mixed in the same program - see the comment at the top of
// that file for details.
//
// Usage: call planetarium::gl::loadGLFunctions() exactly once, right
// Usage: call engine::gl::loadGLFunctions() exactly once, right
// after the GLFW OpenGL context has been made current and before any
// other GL call in the project's own rendering code.
// -----------------------------------------------------------------------
@@ -68,7 +68,7 @@ typedef char GLchar;
typedef ptrdiff_t GLsizeiptr;
typedef ptrdiff_t GLintptr;
namespace planetarium::gl {
namespace engine::gl {
using PFNGLGENVERTEXARRAYS = void (*)(GLsizei, GLuint*);
using PFNGLBINDVERTEXARRAY = void (*)(GLuint);
@@ -143,4 +143,4 @@ extern PFNGLGENERATEMIPMAP glGenerateMipmap;
// required entry point could not be resolved.
bool loadGLFunctions();
} // namespace planetarium::gl
} // namespace engine::gl