commit | 0dad64d939f1e904fe529e7575bc0e68db7cf490 | [log] [tgz] |
---|---|---|
author | Stas Gurtovoy <stas@graphtech.co.il> | Wed Jul 13 09:56:56 2011 +0300 |
committer | David 'Digit' Turner <digit@android.com> | Thu Jul 14 03:05:38 2011 +0200 |
tree | 3f08df7a18867b019819d85c7f44bbb178782d5d | |
parent | 79b1bad09ac0df4bd5ec93483f7fc8a983301327 [diff] |
opengles Translator: DrawTex impl - don't draw if no textures enabled. This fixes a crash caused by covgl (on Nvidia linux driver) when our implementation of glDrawTexOES calls glDrawArrays with GL_TEXTURE_COORD_ARRAY enabled - but none of texture units are enabled and no data passed by glTexCoordPointer Change-Id: Id28b0c35a5a17b139ab196db0e434d2f0a490132