PDA

View Full Version : WGL_NV_allocate_memory



nebrown1
12-12-2000, 03:43 PM
Why doesn't WGL_NV_allocate_memory show up in the extension string for GEForce 256 Detonator 3 drivers? It seems to able to be used regardless...

mcraighead
12-12-2000, 04:15 PM
It's not a "real" extension. I know I've seen that name before, but I'm actually not entirely sure where, because it's not in the GL_NV_vertex_array_range spec, and it's not in our driver!

- Matt

nebrown1
12-12-2000, 06:18 PM
It appears that as long as GL_NV_vertex_array_range and GL_NV_fence are supported, the wglAllocateMemoryNV command will work. Is this also true for WGL_EXT_extensions_string and WGL_EXT_pixel_format?

mcraighead
12-12-2000, 06:26 PM
wglAllocateMemoryNV must be supported by any Windows driver that supports GL_NV_vertex_array_range. Likewise, glXAllocateMemoryNV must be supported by any X driver that supports it.

If wglGetProcAddress("wglGetExtensionsStringARB") returns NULL, then the WGL extension string extension is not supported. If it returns a non-NULL value, you call that function to get the WGL extension string, from which you can check whether any given WGL extension is supported.

- Matt

nebrown1
12-13-2000, 02:10 AM
Thanks for the help, Matt