From d548bf41d3a0fe443494f94f745d1fe49e5e432c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 27 Nov 2005 23:57:19 +0000 Subject: Redo _eglInitSurface() so it can be used with all surface types. Redo _eglInitContext() to do error checking, attribute list parsing, etc. --- src/egl/main/eglcontext.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/egl/main/eglcontext.h') diff --git a/src/egl/main/eglcontext.h b/src/egl/main/eglcontext.h index d74d6e3253..4b0eaf3107 100644 --- a/src/egl/main/eglcontext.h +++ b/src/egl/main/eglcontext.h @@ -25,8 +25,9 @@ struct _egl_context }; -extern void -_eglInitContext(_EGLContext *ctx); +extern EGLBoolean +_eglInitContext(_EGLDriver *drv, EGLDisplay dpy, _EGLContext *ctx, + EGLConfig config, const EGLint *attrib_list); extern void -- cgit v1.2.3