Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker

This commit is contained in:
Karl Tomlinson 2011-02-11 18:11:30 -05:00
parent e9884a8b98
commit e6082aa43d

View File

@ -254,12 +254,14 @@ public:
GLXContext context;
nsRefPtr<GLContextGLX> glContext;
bool error = false;
bool error;
ScopedXErrorHandler xErrorHandler;
TRY_AGAIN_NO_SHARING:
error = false;
context = sGLXLibrary.xCreateNewContext(display,
cfg,
GLX_RGBA_TYPE,