Skip to content

Replace GLEW and fix Windows support.#7

Open
mrsteyk wants to merge 1 commit intoKam1k4dze:masterfrom
mrsteyk:master
Open

Replace GLEW and fix Windows support.#7
mrsteyk wants to merge 1 commit intoKam1k4dze:masterfrom
mrsteyk:master

Conversation

@mrsteyk
Copy link

@mrsteyk mrsteyk commented Aug 1, 2025

This replaces system-wide GLEW search with vendored glad and ghetto fixes Windows weirdness because C++ sucks.

WIN32_LEAN_AND_MEAN does not include Windows' XML and NOMINMAX prevents min/max defines which break std::max and std::min.
#undef assert is because utfcpp detects C++ edition in a weird way and Windows' define breaks whatever it wants.
ini lib already has an overload for wchar_t null-term. strings, templating is a simple way to get it to work, one could also do .string().c_str() but meh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant