mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Fixed: OpenGL ES driver compilation
--HG-- branch : develop
This commit is contained in:
parent
8dec2fbb54
commit
41176a7d02
1 changed files with 5 additions and 0 deletions
|
@ -1203,6 +1203,7 @@ sint CDriverGL::getTotalVideoMemory() const
|
|||
{
|
||||
H_AUTO_OGL(CDriverGL_getTotalVideoMemory);
|
||||
|
||||
#ifndef USE_OPENGLES
|
||||
if (_Extensions.NVXGPUMemoryInfo)
|
||||
{
|
||||
GLint memoryInKiB = 0;
|
||||
|
@ -1306,6 +1307,10 @@ sint CDriverGL::getTotalVideoMemory() const
|
|||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
// TODO: implement for OpenGL ES
|
||||
#endif
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue