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

createTextureFromNativeObject does not take null pointer

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.15.2
    • Qt RHI, Quick: 2D Renderer
    • None
    • Linux fx-9590 5.9.11-arch2-1 #1 SMP PREEMPT Sat, 28 Nov 2020 02:07:22 +0000 x86_64 GNU/Linux

    • Linux/X11

    Description

      In my opinion QQuickWindow::createTextureFromNativeObject() }}should allow the {{nullptr }}pointer as its{{ const void *nativeObjectPtr parameter even if only to ignore it. Currently, passing{{ nullptr}} results in a crash, the workaround is to pass a pointer to a zero-initialized GLuint variable.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            janezzabc Janez Žemva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes