Skip to content

Commit

Permalink
Build on OSX arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored and m4xw committed Oct 15, 2024
1 parent 75d5a44 commit ff0793c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Graphics/OpenGLContext/GLFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "GLFunctions.h"

#define ASSIGN_PROC_ADR(proc_type, proc_name) ptr##proc_name = rgl##proc_name
#define ASSIGN_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) rgl##proc_name
#define ASSIGN_GL_PROC_ADR(proc_type, proc_name) ptr##proc_name = gl##proc_name

#if defined(GL_USE_DLSYM)
Expand Down
2 changes: 1 addition & 1 deletion src/PaletteTexture.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once
#include <memory>

#ifdef IOS
#if defined(IOS) || defined(OSX)
#include <stdlib.h>
#else
#include <malloc.h>
Expand Down

0 comments on commit ff0793c

Please sign in to comment.