Merge "tex 0 is legal."

This commit is contained in:
David Turner
2011-06-28 04:38:57 -07:00
committed by Android Code Review

View File

@@ -167,8 +167,6 @@ GLESiface* __translator_getIfaces(EGLiface* eglIface){
static TextureData* getTextureData(){
GET_CTX_RET(NULL);
unsigned int tex = ctx->getBindedTexture();
if (tex==0)
return NULL;
TextureData *texData = NULL;
ObjectDataPtr objData = thrd->shareGroup->getObjectData(TEXTURE,tex);
if(!objData.Ptr()){