	Bug 1043 - COGL calls glTexSubImage2D() with out-of-bounds 	values (SIGSEGV)
	Bug 1043 - COGL calls glTexSubImage2D() with out-of-bounds
	values (SIGSEGV)

	* clutter/cogl/gl/cogl-texture.c
	(_cogl_texture_upload_subregion_to_gl): When iterating over the
	slices, discard ones that don't intersect immediatly otherwise it
	will call glTexSubImage2D with a negative width/height and then
	move the source position incorrectly. Thanks to Gwenole
	Beauchesne.

Distrotech/cogl,Distrotech/cogl,djdeath/cogl-android,djdeath/cogl,gcampax/cogl,collects/cogl,spatulasnout/cogl,gcampax/cogl,Distrotech/cogl,gcampax/cogl,djdeath/cogl,djdeath/cogl-android,spatulasnout/cogl,djdeath/cogl-android,gcampax/cogl,djdeath/cogl,Distrotech/cogl,collects/cogl