Skip to main content
gamedev.net
🔒 Locked

wglAllocateMemoryNV returns zero: why?

Started by Nekhmet Jun 14, 2002 at 1:48 PM 2 replies 500+ views
Original Post
Nekhmet
Nekhmet
Our 3D engine uses wglAllocateMemoryNV, and it works fine, with one exception. About 1 in 4 of my beta testers is reporting that wglAllocateMemory returns zero. I have no idea why this would be. Whenever I get a bug report like this, I ask the beta tester to run DxDiag and check for AGP support - and so far, most of the users _do_ report that AGP is enabled. Any clues? - Josh
zedzeek
zedzeek
do they have enuf free memory
how do u allocate memory eg (0,0,0.75)

http://uk.geocities.com/sloppyturds/gotterdammerung.html
Nekhmet
Nekhmet
The parameters I''m using are:

void *p = wglAllocateMemoryNV(16 * 1024 * 1024, 0.0, 0.0, 0.5).

jenova
jenova
have you tried requesting less memory? 16MB seems like a lot to me....

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.