diff --git a/ChangeLog b/ChangeLog index a8dd41d..6d02397 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-11-16 Adam Fedor + * Source/x11/XGGLContext.m (-initWithFormat:shareContext:): Remove + assert. + * Source/x11/XGServerWindow.m ([XGServer -setinputstate::]): Return if window is NULL. diff --git a/Source/x11/XGGLContext.m b/Source/x11/XGGLContext.m index fe7f021..ec604d3 100644 --- a/Source/x11/XGGLContext.m +++ b/Source/x11/XGGLContext.m @@ -265,7 +265,7 @@ static XGGLContext *currentGLContext; { [super init]; glx_context = None; - NSParameterAssert(format); + if( _format && [_format isKindOfClass: [XGGLPixelFormat class]]) { MAKE_DISPLAY(dpy);