using VAR I’ve got some strange behaviour: Defining a read-frequency of 0.25 and above all works as
expected. But with a read-freq below 0.25 I get the requested memory pointer, but when writing to it
the app crashes after writing the 2^14th element! Any ideas what the reason might be?
The call is
int nVARsize = 4*1000*100; // only if read freq >= 0.25 //int nVARsize = 4*4096; // max 2^14 if read freq < 0.25 float* pVARmemory = (float*)wglAllocateMemoryNV(nVARsize, 0.25f, 0.5f, 0.5f);
Tried on 30.82 on Win98 GeForce1 and 29.61 on WinXP GeForce2 GO.
edit: By defining read-freq < 0.25 the nVARsize has to be at most 2^14 to not crash, but then nothing is drawn!
[This message has been edited by kon (edited 10-23-2002).]