about video memory detection in wine

Stefan Dösinger stefandoesinger at gmx.at
Fri Aug 14 05:03:46 CDT 2009

Am Friday 14 August 2009 11:58:12 schrieb Sun, Sunny:
> const char *glExtensions = (const char*)glGetString(GL_EXTENSIONS);
> if(strstr(glExtensions, "GL_ATI_meminfo"))
That sounds very helpful! Is this supported on all drivers that support 
GL_ATI_meminfo(but not documented in the spec)? Or was this added at some 
later point? Do I have to be prepared to getting a GL_INVALID_ENUM or 
something when I am trying to use GL_TOTAL_PHYSICAL_MEMORY_ATI?

More information about the wine-devel mailing list