mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
BugFix ATI get memory GL_TEXTURE_FREE_MEMORY_ATI
This commit is contained in:
@@ -513,7 +513,9 @@ glm::ivec2 Rendering::getGPUMemoryInformation()
|
|||||||
}
|
}
|
||||||
// ATI
|
// ATI
|
||||||
else if (meminfomode == 2) {
|
else if (meminfomode == 2) {
|
||||||
glGetIntegerv( GL_TEXTURE_FREE_MEMORY_ATI, &ret.x );
|
GLint memInMB[4] = { 0, 0, 0, 0 };
|
||||||
|
glGetIntegerv( GL_TEXTURE_FREE_MEMORY_ATI, &memInMB[0] );
|
||||||
|
ret.x = memInMB[3] ;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user