summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/mysql/qsql_mysql.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2014-12-16 16:31:37 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2014-12-21 07:02:23 +0100
commitf2663f2ae4fabe975d2e2d5e3fe3afa4666e92f8 (patch)
tree80932e51e48dc63b3a51e5c5eb65fb767913bf36 /src/sql/drivers/mysql/qsql_mysql.cpp
parente78ec1c48aa9e8912fe9ef96d5f0eb7ef66feadf (diff)
Fix discard framebuffer support in QOpenGLWidget
The enum values are different for the default framebuffer and non-default ones. With QOpenGLWidget there is always a non-default fb bound, so the correct way is to use GL_COLOR_ATTACHMENT0 etc. GL_COLOR_EXT and friends are only allowed when the default framebuffer is bound, as per spec. Change-Id: Ia8c27038dc899e44d1a95eb88adbc1cac72652b0 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/sql/drivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions