[text-backface-culling] Fix width/height parameters to cogl_rectangle
authorNeil Roberts <neil@linux.intel.com>
Wed, 28 Jan 2009 12:06:39 +0000 (12:06 +0000)
committerNeil Roberts <neil@linux.intel.com>
Wed, 28 Jan 2009 12:24:11 +0000 (12:24 +0000)
commit561c441241a2d6510075f07d154a8bbaa89a0596
treebfebacb45a4edb1ec2b9bd3a7162a485ecd1eb0b
parente72042648c2d481e7be3f395f080e798cea82c46
[text-backface-culling] Fix width/height parameters to cogl_rectangle

During the upgrade to cogl material, test-backface-culling was
switched to use cogl_rectangle instead of cogl_texture_rectangle to
draw the textures. However, cogl_rectangle takes a width and height
instead of the the top-left and bottom-right vertices so the
rectangles were being drawn in the wrong place.
tests/conform/test-backface-culling.c