
We queried the wrong value when looking for the bound 2D texture. This is not totally robust because currently bound texture may not be a 2D one, but this should work for now.
We queried the wrong value when looking for the bound 2D texture. This is not totally robust because currently bound texture may not be a 2D one, but this should work for now.