Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.15.2
-
None
-
Linux fx-9590 5.9.11-arch2-1 #1 SMP PREEMPT Sat, 28 Nov 2020 02:07:22 +0000 x86_64 GNU/Linux
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.