Skip to content

Commit

Permalink
Merge pull request #640 from pzychotic/fix-win-x86-build
Browse files Browse the repository at this point in the history
Fix Windows x86 build
  • Loading branch information
Lgt2x authored Oct 29, 2024
2 parents b0b7eee + 09a9619 commit d51ce96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer/dyna_gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ inline void CheckError() {

template <typename T> struct FnPtr;
template <typename Ret, typename... Args>
struct FnPtr<Ret(Args...)> {
struct FnPtr<Ret GLFUNCCALL(Args...)> {
explicit FnPtr(std::string_view name, bool optional = false);

Ret operator()(Args... args) const {
Expand Down Expand Up @@ -99,7 +99,7 @@ static void LoadGLFnPtrs() {
}

template<typename Ret, typename... Args>
FnPtr<Ret(Args...)>::FnPtr(std::string_view name, bool optional) : fn_{} {
FnPtr<Ret GLFUNCCALL(Args...)>::FnPtr(std::string_view name, bool optional) : fn_{} {
inits_.push_back(std::make_tuple(reinterpret_cast<void**>(&fn_), name, optional));
}

Expand Down

0 comments on commit d51ce96

Please sign in to comment.