Am Friday 14 August 2009 11:58:12 schrieb Sun, Sunny:
#define GL_TOTAL_PHYSICAL_MEMORY_ATI 0x87FE 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?