TheBlob
05-27-2002, 10:48 AM
Hi!
Iīm trying to implement VAR in my game, but itīs quite a difficult task.
I have the following code:
unsigned char *m_memory = 0;
m_memory = (unsigned char*)wglAllocateMemoryNV(128*sizeof(float), 0, 0, .5f);
But it crashes!! Can anybody tell where my mistake is??
Even if I donīt copy any data in my "allocated" memory, my program crashes...:-(
Thanks in advance!
[This message has been edited by TheBlob (edited 05-27-2002).]
Iīm trying to implement VAR in my game, but itīs quite a difficult task.
I have the following code:
unsigned char *m_memory = 0;
m_memory = (unsigned char*)wglAllocateMemoryNV(128*sizeof(float), 0, 0, .5f);
But it crashes!! Can anybody tell where my mistake is??
Even if I donīt copy any data in my "allocated" memory, my program crashes...:-(
Thanks in advance!
[This message has been edited by TheBlob (edited 05-27-2002).]