I know you dont pass a size for the destination buffer but what if the destination buffer isn't big enough to hold a complete copy of the source buffer, e.g.
...
tex = CreateTexture(128,128)
...
CopyRect 0,0,800,600,0,0,FrontBuffer(),TextureBuffer(tex)
...
Or, what I'm more interested in is what happens if you offset source rect in the dest rect, e.g.
...
tex = CreateTexture(800,600)
...
CopyRect 0,0,800,600,10,10,FrontBuffer(),TextureBuffer(tex)
...
Does the copy get clipped to the confines of the dest buffer or not. Anyone know?
Thanks
...
tex = CreateTexture(128,128)
...
CopyRect 0,0,800,600,0,0,FrontBuffer(),TextureBuffer(tex)
...
Or, what I'm more interested in is what happens if you offset source rect in the dest rect, e.g.
...
tex = CreateTexture(800,600)
...
CopyRect 0,0,800,600,10,10,FrontBuffer(),TextureBuffer(tex)
...
Does the copy get clipped to the confines of the dest buffer or not. Anyone know?
Thanks