Closed Bug 682327 Opened 14 years ago Closed 14 years ago

ASSERTION: Failed to make GL context current!: 'succeeded' GLContextProviderEGL.cpp, line 795

Categories

(Core Graveyard :: Widget: Qt, defect)

ARM
Maemo
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla9

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file, 1 obsolete file)

Ok, problem seems to be caused by http://hg.mozilla.org/mozilla-central/rev/6e7449c449ba#l2.33 we should not check mSurface on Qt port.
Assignee: nobody → romaxa
Status: NEW → ASSIGNED
Attachment #556066 - Flags: review?(matt.woodrow)
Blocks: 677920, 677712
Comment on attachment 556066 [details] [diff] [review] Move surface check before MakeCurrent conditions Review of attachment 556066 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, with a small fix needed. ::: gfx/thebes/GLContextProviderEGL.cpp @@ +785,4 @@ > #ifndef MOZ_WIDGET_QT > + if (!mSurface) { > + EGLConfig config = CreateConfig(); > + mSurface = CreateSurfaceForWindow(NULL, config); We still need a call to fMakeCurrent when we create a new surface. So add the line: aForce = PR_TRUE;
Attachment #556066 - Flags: review?(matt.woodrow) → review+
Attachment #556066 - Attachment is obsolete: true
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: