From f96d357017d1c76edba669bf60bca98005efa225 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 25 Sep 2012 19:28:21 +0200 Subject: [PATCH] Fix build on KMS. --- gfx/context/drm_egl_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index 3d090594d3..62a97fb80f 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -471,7 +471,7 @@ static bool gfx_ctx_set_video_mode( EGL_NONE }; - g_egl_ctx = eglCreateContext(g_egl_dpy, g_config, EGL_NO_CONTEXT, (g_api == GFX_CTX_OPENGL_ES_API) ? glsl_context_attribs : NULL); + g_egl_ctx = eglCreateContext(g_egl_dpy, g_config, EGL_NO_CONTEXT, (g_api == GFX_CTX_OPENGL_ES_API) ? gles_context_attribs : NULL); if (!g_egl_ctx) goto error;