Fix typoed typedef name.
This commit is contained in:
parent
cb1b7695cb
commit
2710be9b1c
|
@ -65,7 +65,7 @@ static volatile sig_atomic_t g_quit;
|
||||||
static unsigned g_major;
|
static unsigned g_major;
|
||||||
static unsigned g_minor;
|
static unsigned g_minor;
|
||||||
|
|
||||||
static PFNGLXCREATECONTEXTATTRIBSARB glx_create_context_attribs;
|
static PFNGLXCREATECONTEXTATTRIBSARBPROC glx_create_context_attribs;
|
||||||
|
|
||||||
static void sighandler(int sig)
|
static void sighandler(int sig)
|
||||||
{
|
{
|
||||||
|
@ -346,7 +346,7 @@ static bool gfx_ctx_glx_init(void *data)
|
||||||
if ((major * 1000 + minor) < 1003)
|
if ((major * 1000 + minor) < 1003)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
glx_create_context_attribs = (PFNGLXCREATECONTEXTATTRIBSARB)glXGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB");
|
glx_create_context_attribs = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glXGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB");
|
||||||
|
|
||||||
#ifdef GL_DEBUG
|
#ifdef GL_DEBUG
|
||||||
glx->g_debug = true;
|
glx->g_debug = true;
|
||||||
|
|
Loading…
Reference in New Issue