mirror of
https://github.com/Nexoniarz/Fry3DX.git
synced 2026-11-03 04:24:26 +00:00
Fry3DX 0.4: an easy 3D modeller
Shapes with live settings, shape editing, knife and hole tools, drawing shapes onto other objects, combining objects (add / subtract / overlap), copies, thickness, painting with stickers and layers, a Layout tab, a Print tab with checks, packed .fry files with autosave, export to GLB, glTF, FBX, OBJ, 3MF, STL and PLY, folders in Layers, its own crash screen, and a website for GitHub Pages in docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMSrd5oe1GpUD7E6d825KP
This commit is contained in:
commit
f3e8eca87b
135 changed files with 23423 additions and 0 deletions
21
engine/rhi/gl/gl_loader.cpp
Normal file
21
engine/rhi/gl/gl_loader.cpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "rhi/gl/gl_loader.h"
|
||||
#include "core/log.h"
|
||||
|
||||
#include <SDL3/SDL_video.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace keel::gl {
|
||||
|
||||
bool load() {
|
||||
std::string missing;
|
||||
#define KEEL_GL_LOAD(ret, name, params) \
|
||||
name = reinterpret_cast<name##_t>(SDL_GL_GetProcAddress("gl" #name)); \
|
||||
if (!name) missing += " gl" #name;
|
||||
KEEL_GL_FUNCTIONS(KEEL_GL_LOAD)
|
||||
#undef KEEL_GL_LOAD
|
||||
if (!missing.empty()) log::warn("OpenGL: missing functions:{}", missing);
|
||||
return missing.empty();
|
||||
}
|
||||
|
||||
} // namespace keel::gl
|
||||
Loading…
Reference in a new issue