commit | 9254c7adc1ef34f0d5c49aff416588a40bfc5412 | [log] [tgz] |
---|---|---|
author | Stas Gurtovoy <stas@graphtech.co.il> | Thu Jul 28 07:24:25 2011 +0300 |
committer | David 'Digit' Turner <digit@android.com> | Tue Aug 09 17:36:35 2011 +0200 |
tree | 72d11a86a4fdbaab69a31778907ca1ca0d9ff68a | |
parent | 3618e8c98b238f6abc1eeddda97c75a9140c52ae [diff] |
opengles emulator: fix bugs in CUBE_MAP implementation in GLES_CM We save the texData->target in original format, but use our internal format (using GLTextureTargetToLocal) to make sure we're not mixing 2D and CUBE_MAP textures on glBindTexture. Also added the GL_S/R/T/Q constants where needed. This fixes the Cube Map test in Api Demos. Change-Id: Id5de45581f2227fe0978d7982a147cb6b4b595c4