|
|
@ -1203,6 +1203,7 @@ sint CDriverGL::getTotalVideoMemory() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
H_AUTO_OGL(CDriverGL_getTotalVideoMemory);
|
|
|
|
H_AUTO_OGL(CDriverGL_getTotalVideoMemory);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef USE_OPENGLES
|
|
|
|
if (_Extensions.NVXGPUMemoryInfo)
|
|
|
|
if (_Extensions.NVXGPUMemoryInfo)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
GLint memoryInKiB = 0;
|
|
|
|
GLint memoryInKiB = 0;
|
|
|
@ -1306,6 +1307,10 @@ sint CDriverGL::getTotalVideoMemory() const
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
// TODO: implement for OpenGL ES
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|