mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
osd_opengl.h: fix compile on MSVC 2012 (nw)
This commit is contained in:
parent
b685e5264e
commit
366a5b7272
@ -89,16 +89,25 @@
|
||||
#define OSD_GL(ret,func,params) ret (APIENTRY *func) params;
|
||||
#define OSD_GL_UNUSED(ret,func,params)
|
||||
|
||||
#ifdef _MSC_VER
|
||||
extern "C" {
|
||||
#else
|
||||
{
|
||||
#endif
|
||||
struct osd_gl_dispatch
|
||||
{
|
||||
#define GET_GLFUNC 1
|
||||
#include "osd_opengl.h"
|
||||
#undef GET_GLFUNC
|
||||
};
|
||||
}
|
||||
|
||||
#undef OSD_GL
|
||||
#undef OSD_GL_UNUSED
|
||||
|
||||
#ifdef _MSC_VER
|
||||
extern "C" osd_gl_dispatch *gl_dispatch;
|
||||
#endif
|
||||
extern osd_gl_dispatch *gl_dispatch;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user