cogl-atlas-texture: Fix a cut and paste error when getting the height
authorNeil Roberts <neil@linux.intel.com>
Fri, 5 Feb 2010 17:03:04 +0000 (17:03 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 5 Feb 2010 17:03:04 +0000 (17:03 +0000)
commit191d20eb56f31786660cd04aacc710344eb8df7a
tree008830478772277fa6a6bbe60bd0c88dd154a649
parente6a3b6ebe75a2c0c3709fbe12cf04c4357b54fdd
cogl-atlas-texture: Fix a cut and paste error when getting the height

There was a typo in getting the height of the full texture to check
whether the sub region fits so that it was using the width
instead. This was causing crashes when debugging is enabled for some
apps.
clutter/cogl/cogl/cogl-sub-texture.c