commit | 33cd758244600acf20b8bbf59cdebf5cd612a592 | [log] [tgz] |
---|---|---|
author | Yochai Shefi Simchon <joch@graphtech.co.il> | Sun Jun 12 13:48:04 2011 +0300 |
committer | Guy Zadickario <guy@graphtech.co.il> | Sat Jun 25 17:02:33 2011 +0300 |
tree | fad094e71faad1ef82ffb1d1d0e9bbc0ce6b88a3 | |
parent | 72233c6be3df014e2ac26d93d1e8db56c86c9651 [diff] |
tex 0 is legal. Change-Id: I99f59aa0aff1986e86e0954bb61924895b9b044f
diff --git a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp index 6c38f25..8a507e5 100644 --- a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp +++ b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp
@@ -167,8 +167,6 @@ 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()){