fix render to depth texture bugs
diff --git a/docs/VERSIONS b/docs/VERSIONS
index 5e6ecc2..528cb50 100644
--- a/docs/VERSIONS
+++ b/docs/VERSIONS
@@ -1478,3 +1478,4 @@
 	- fixed broken texture border handling for depth textures (bug 6498)
 	- removed the test for duplicated framebuffer attachments, per
 	  version 117 of the GL_EXT_framebuffer_object specification
+	- fixed a few render-to-texture bugs, including render to depth texture