Hi!
I have troubles getting VAR working!
I try to allocate some memory, but i always get a nullpointer...
Hereīs my code:
But actually itīs always !AGPMemory .... so wahtīs wrong with thatCode :unsigned char *AGPMemory; if(VARSupported) { // This call allocates Memory in AGP-Memory!! AGPMemory = (unsigned char*)wglAllocateMemoryNV(1024*sizeof(float), 0.2f, 0.2f, 0.5f); if (!AGPMemory) { //No AGP Memory available VARSupported = false; } else { //Everything worked fine and the memory could be allocated... //...Proceed with memcopy etc. } }
BTW: The NVIDIA demos workes perfectly, so it canīt be my machine....



, try these values for wglAllocateMemoryNV( 1024*sizeof(float), 0, 0.1f, 0.75f ).
