copying memory

Posted:
Nov 28, 2002 @ 11:59am
by frazzled
i have a unsigned short buffer of 320*240 and would like to cope into vid mem,can anyone tell me if memcpy could be used for this.

Posted:
Nov 28, 2002 @ 5:33pm
by Malmer
Just make sure you copy 320 * 240 * 2, since a unsigned short is two bytes.