Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33363

Fallback renderloop will crash if QOpenGLContext::create fails.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.2.0 RC1
    • 5.0.2
    • Quick: SceneGraph
    • None
    • 12eab91627816d2f59a53f01dc33a5577b61db31

    Description

      Accidentally I have found out that Qt will crash when gl context will not be created. See following

      https://qt.gitorious.org/qt/qtdeclarative/source/21a08ccde3c7c2dc69e06b714549585bbf39b5c3:src/quick/scenegraph/qsgrenderloop.cpp#L254

      current = gl->makeCurrent(window);
      will crash.
      shouldn't be return after gl=0 or something like this?

      Sorry but I don't have time to investigating it more.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            tolszak Tomasz Olszak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes