|
I don't see where you get some memory that pVertex can point to. The crash is probably memcpy() trying to blast data somewhere it shouldn't because pVertex is uninitialized. This may not be the case if you're doing this outside of the code snippet that you included.
-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
|