offscreen: cogl_offscreen_new_to_texture now supports GL_TEXTURE_RECTANGLE_ARB
authorRobert Bragg <robert@linux.intel.com>
Wed, 25 Nov 2009 02:47:52 +0000 (02:47 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 25 Nov 2009 02:56:25 +0000 (02:56 +0000)
commit558b17ee1e71fb0fe7aea35e13cd5a73b18130dc
tree25f9cd300ad82248e1b17b590c010313a0602a63
parentd3a01e0c96237ca060e3451d2b80e692dfb3b8f6
offscreen: cogl_offscreen_new_to_texture now supports GL_TEXTURE_RECTANGLE_ARB

cogl_offscreen_new_to_texture previously bailed out if the given texture's
GL target was anything but GL_TEXTURE_2D, but it now also allows
foreign GL_TEXTURE_RECTANGLE_ARB textures.

Thanks to Owen for reporting this issue, ref:
https://bugzilla.gnome.org/show_bug.cgi?id=601032
clutter/cogl/cogl/cogl-draw-buffer.c