qt6-bb10/src
Eirik Aavitsland b0056f052d 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.7 6.6 6.5
Change-Id: I9a004331513179a3f840a007af0418d14e7f5dff
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2024-02-09 15:26:21 +01:00
..
3rdparty Update bundled libpng to version 1.6.42 2024-02-07 09:04:18 +01:00
android Android: fix style extraction when set to none 2024-02-06 17:23:42 +02:00
assets Add XDG theme file for example icons 2023-06-26 17:32:10 +00:00
concurrent Fix QThreadPool::maxThreadCount() usage 2024-01-08 18:29:26 +01:00
corelib Add fast-path in QLibraryStore::findOrCreate() for empty fileName 2024-02-09 12:39:28 +01:00
dbus QDBusAbstractInterface/Doc: fix example to match the description 2024-02-05 19:36:17 -08:00
entrypoint src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
gui Improve KTX file reading memory safety 2024-02-09 13:08:44 +01:00
network Change type of internal locationHeader constexpr to QL1SV 2024-02-08 17:02:52 +02:00
opengl Refix invalid glTexImage2D operation in FramebufferObject 2024-02-09 15:26:21 +01:00
openglwidgets QOpenGLWidget: Call glClear in the default paintGL implementation 2023-09-04 11:46:29 +02:00
platformsupport Rename QWSI::handleWindowActivated to QWSI::handleFocusWindowChanged 2023-11-23 02:37:12 +01:00
plugins WASM builds now handle bitmap and pixmap cursors 2024-02-08 23:55:51 +00:00
printsupport Remove extra semi-colons 2024-02-06 20:17:18 +09:00
sql QSqlDatabase: add Q_PROPERTY 2024-02-05 21:52:33 +01:00
testlib QTest: rename local `timeout` variable in QTRY_IMPL macro 2024-02-09 15:11:50 +01:00
tools Change license for tools files 2024-02-07 13:15:09 +01:00
widgets QAbstractItemView: close all child editors when parent is removed 2024-02-08 18:31:26 +01:00
xml QDom: give name to all anonymous parameters as well as too generic ones 2024-02-08 14:40:04 +00:00
CMakeLists.txt Add Qt icon library for examples 2023-04-22 18:14:38 +03:00