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