summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-18 15:01:33 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-20 07:25:39 +0000
commit97f451a600c474a2484c621cc66b0f29fe9c76c4 (patch)
treef5d46a7e404434ef092c670622f97a6ee83ccdde /src/plugins/platforms
parent02c5657a7d6d30c6e874e29a0adcc38b58a45b7d (diff)
Correct pixel type for depth textures on ES
Byte is definitely wrong. GL_OES_depth_texture states that short or int are the only options, GL_UNSIGNED_BYTE is thus rejected. Let's ask for the highest (32 bits). There's no guarantee that the implementation honors this, but at least we tried. Change-Id: I14dd9d4ab56b0b69cdab341f95f47499786d174e Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions