[Bug 39724] GL_INVALID_OPERATION in glCopyTexImage2D(read buffer); (0x502) from glGenFramebuffers()