From 2710be9b1ce33bac51cf3bb91aeb845edeb23e7e Mon Sep 17 00:00:00 2001 From: Alcaro Date: Thu, 6 Nov 2014 01:47:11 +0100 Subject: [PATCH] Fix typoed typedef name. --- gfx/context/glx_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/context/glx_ctx.c b/gfx/context/glx_ctx.c index 82131c43b7..c2aaeb1071 100644 --- a/gfx/context/glx_ctx.c +++ b/gfx/context/glx_ctx.c @@ -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;