Depth texture copy using glCopyTexSubImage2D is undefined behavior since you cannot bind GL_DEPTH_ATTACHMENT to glReadBuffer. Using glBlitFramebuffer as a fallback.
60 KiB
60 KiB
Depth texture copy using glCopyTexSubImage2D is undefined behavior since you cannot bind GL_DEPTH_ATTACHMENT to glReadBuffer. Using glBlitFramebuffer as a fallback.