Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Eirik Aavitsland 6ae9a8441e Refix invalid glTexImage2D operation in FramebufferObject
A recent change fixed the texture format parameter to be RGB instead
of RGBA for opaque internal formats. However, this broke the RGB10
case, since the pixel type is then GL_UNSIGNED_INT_2_10_10_10_REV. The
doc says:

"GL_INVALID_OPERATION is generated if type is [...]
GL_UNSIGNED_INT_2_10_10_10_REV [...] and format is neither GL_RGBA nor
GL_BGRA."
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexImage2D.xhtml

This modifies ba9e57d65f.

Pick-to: 6.6 6.5
Change-Id: I9a004331513179a3f840a007af0418d14e7f5dff
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit b0056f052d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-09 14:26:33 +00:00
.github/workflows
LICENSES Update QLocale and calendar data to CLDR v44.1 2024-02-05 21:02:10 +01:00
bin
cmake cmake: build repo helpers - fine-grained test/example options 2024-02-09 07:17:11 +00:00
coin COIN: Enable setting Debian target distro with env variable 2024-01-31 11:36:58 +00:00
config.tests
dist
doc Change doc snippet license 2024-02-07 10:10:08 +00:00
examples Android: request POST_NOTIFICATIONS permission for Android Notifier 2024-02-07 10:10:08 +00:00
lib
libexec
mkspecs wasm: Don't suppress exceptions during main() 2023-12-20 00:44:47 +00:00
qmake
src Refix invalid glTexImage2D operation in FramebufferObject 2024-02-09 14:26:33 +00:00
tests Improve KTX file reading memory safety 2024-02-09 13:46:48 +00:00
util Update QLocale and calendar data to CLDR v44.1 2024-02-05 21:02:10 +01:00
.cmake.conf
.gitattributes
.gitignore
.lgtm.yml
.tag
CMakeLists.txt cmake: build repo helpers - fine-grained test/example options 2024-02-09 07:17:11 +00:00
config_help.txt
configure Change configure license 2024-02-02 15:28:34 +00:00
configure.bat Change license of configure.bat file 2024-02-07 15:10:28 +00:00
configure.cmake CMake: Fix Threads global promotion issue when using static openssl 2024-01-22 14:57:34 +00:00
dependencies.yaml
qt_cmdline.cmake