Fix typoed typedef name.

This commit is contained in:
Alcaro 2014-11-06 01:47:11 +01:00
parent cb1b7695cb
commit 2710be9b1c

View File

@ -65,7 +65,7 @@ static volatile sig_atomic_t g_quit;
static unsigned g_major;
static unsigned g_minor;
static PFNGLXCREATECONTEXTATTRIBSARB glx_create_context_attribs;
static PFNGLXCREATECONTEXTATTRIBSARBPROC glx_create_context_attribs;
static void sighandler(int sig)
{
@ -346,7 +346,7 @@ static bool gfx_ctx_glx_init(void *data)
if ((major * 1000 + minor) < 1003)
goto error;
glx_create_context_attribs = (PFNGLXCREATECONTEXTATTRIBSARB)glXGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB");
glx_create_context_attribs = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glXGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB");
#ifdef GL_DEBUG
glx->g_debug = true;