aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-01-31 16:26:20 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-02-01 07:34:42 +0000
commitafe94571e6c79bd20f6ed6568217c114ef9654de (patch)
tree80989cca0098f6d231dd7b04514609d0425fd7f9 /sources/pyside2
parent2252017bd8ddc1c1fec9791c0a9dd7ab00a0a6d9 (diff)
QtGui: Fix warning about <array> modification
Extend the regexp for the <array> modification of glClearBufferXX() to actually check for '*' so that only the overloads with arrays match, fixing warning: glClearBufferfi(uint,int,float,int): Cannot use parameter 3 as an array: Type does not have indirections. Change-Id: Ic1cd24ca3d66ea7eac593b4a2d3b1a759ab1af18 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2')
-rw-r--r--sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
index 2181ff073..f3350b8c5 100644
--- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
@@ -2574,7 +2574,7 @@
<modify-function signature="glEndTransformFeedback()" remove="all"/>
<modify-function signature="glPauseTransformFeedback()" remove="all"/>
<modify-function signature="glResumeTransformFeedback()" remove="all"/>
- <modify-function signature="^glClearBuffer.*\(.*$">
+ <modify-function signature="^glClearBuffer.*\(.*\*.*$">
<modify-argument index="3"><array/></modify-argument>
</modify-function>
<modify-function signature="glDeleteProgramPipelines(int,const unsigned int*)">