diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2024-04-10 13:43:47 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2024-04-16 13:31:07 +0200 |
commit | 7aaa6a60448f5be05373367abaa37a1fa56ab5c7 (patch) | |
tree | 4e8bcdef720215b837a19d6c7f5247ed252e1d9c /src/plugins/platforms/minimal | |
parent | 655b98482e8339b287fb040fd25013dc1232a43d (diff) |
Correct the internal signatures in the GL 4.5 func wrappers
There are 9 functions in the 4.5 API that were initially specified
to use GLsizei, but later "magically" became GLsizeiptr (i.e.
64-bit or 32-bit depending on the arch).
The current gl.xml, unlike old ones, uses GLsizeiptr, as do the
extension headers and most of the online docs, except some that of the
reference pages are stuck with GLsizei.
Assuming that today's OpenGL implementations expect GLsizeiptr, fix
the the internal signatures, so that calling into the GL implementation
is done using the correct argument sizes.
In addition, add GLsizeiptr signatures in the public API guarded with
>= QT_VERSION(7, 0, 0).
Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-67807
Change-Id: Ifc7e97b0479a186000a56709c37ba7f77b6f1ff2
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/platforms/minimal')
0 files changed, 0 insertions, 0 deletions