diff options
Diffstat (limited to 'glx/glxcmds.c')
-rw-r--r-- | glx/glxcmds.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/glx/glxcmds.c b/glx/glxcmds.c index ea70ca478..f4fc03159 100644 --- a/glx/glxcmds.c +++ b/glx/glxcmds.c @@ -639,15 +639,6 @@ DoMakeCurrent(__GLXclientState *cl, return __glXError(GLXBadContext); } - /* resize the buffers */ - if (!(*drawPriv->resize)(drawPriv)) { - /* could not do initial resize. make current failed */ - (*glxc->loseCurrent)(glxc); - glxc->drawPriv = NULL; - glxc->readPriv = NULL; - return __glXError(GLXBadContext); - } - glxc->isCurrent = GL_TRUE; __glXRefDrawable(glxc->drawPriv); __glXRefDrawable(glxc->readPriv); |