Fix texture bound cache issue 78/244278/2
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 16 Sep 2020 15:23:13 +0000 (00:23 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 17 Sep 2020 09:08:41 +0000 (18:08 +0900)
commitf0c194ec5defdf1dd2f54142a05f6114564ea735
tree7331d577b8c77e13100d113edb9810e2ec1d3ff2
parentf29e4852e1440cca59eb3f42f471257bbbe8a85e
Fix texture bound cache issue

ActiveTexture should be called if mActiveTextureUnit is different.
We don't need to check it in BindTextureForUnit().

And the mBoundTextureId should store ids per target.

Change-Id: I30d93784577a2ce261ef047f2ec36c6adb766b0a
automated-tests/src/dali/utc-Dali-TextureSet.cpp
dali/internal/render/gl-resources/context.h