mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-18 11:42:36 +00:00
[GLExtensions] Hopefully fix OS X build.
This commit is contained in:
parent
f4bd7bdef0
commit
2a8ee1a7ff
@ -21,6 +21,7 @@
|
|||||||
#include "ConfigManager.h"
|
#include "ConfigManager.h"
|
||||||
|
|
||||||
#include <wx/panel.h>
|
#include <wx/panel.h>
|
||||||
|
#import <mach-o/dyld.h>
|
||||||
|
|
||||||
#include "VertexShaderManager.h"
|
#include "VertexShaderManager.h"
|
||||||
#include "../GLInterface.h"
|
#include "../GLInterface.h"
|
||||||
@ -31,8 +32,8 @@
|
|||||||
void* NSGLGetProcAddress (const char *name)
|
void* NSGLGetProcAddress (const char *name)
|
||||||
{
|
{
|
||||||
NSSymbol symbol;
|
NSSymbol symbol;
|
||||||
char *symbolName;
|
char* symbolName;
|
||||||
symbolName = malloc (strlen (name) + 2); // 1
|
symbolName = (char*)malloc(strlen (name) + 2); // 1
|
||||||
strcpy(symbolName + 1, name); // 2
|
strcpy(symbolName + 1, name); // 2
|
||||||
symbolName[0] = '_'; // 3
|
symbolName[0] = '_'; // 3
|
||||||
symbol = NULL;
|
symbol = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user