message: Don't fetch mip/layer for renderbuffers
  * Renderbuffers are a legacy concept that some programs still use, but they
  don't have array layers or mips
diff: @@ -2027,12 +2027,14 @@ bool WrappedOpenGL::Serialise_glBlitNamedFramebuffer(SerialiserType &ser,
  draw.copyDestination = GetResourceManager()->GetOriginalID(dstid);
  GLint mip = 0, slice = 0;
  + if(dsttype == eGL_TEXTURE)
  GetFramebufferMipAndLayer(drawFramebuffer.name, eGL_COLOR_ATTACHMENT0, &mip, &slice);
  draw.copyDestinationSubresource.mip = mip;
  draw.copyDestinationSubresource.slice = slice;
  mip = 0;
  slice = 0;
  + if(srctype == eGL_TEXTURE)
  GetFramebufferMipAndLayer(readFramebuffer.name, eGL_COLOR_ATTACHMENT0, &mip, &slice);
  draw.copySourceSubresource.mip = mip;
  draw.copySourceSubresource.slice = slice;
  @@ -2046,12 +2048,14 @@ bool WrappedOpenGL::Serialise_glBlitNamedFramebuffer(SerialiserType &ser,
  draw.copyDestination = GetResourceManager()->GetOriginalID(dstid);
  GLint mip = 0, slice = 0;
  + if(dsttype == eGL_TEXTURE)
  GetFramebufferMipAndLayer(drawFramebuffer.name, eGL_DEPTH_ATTACHMENT, &mip, &slice);
  draw.copyDestinationSubresource.mip = mip;
  draw.copyDestinationSubresource.slice = slice;
  mip = 0;
  slice = 0;
  + if(srctype == eGL_TEXTURE)
  GetFramebufferMipAndLayer(readFramebuffer.name, eGL_DEPTH_ATTACHMENT, &mip, &slice);
  draw.copySourceSubresource.mip = mip;
  draw.copySourceSubresource.slice = slice;
  