mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
remove troublesome call
This commit is contained in:
parent
ad468be1c5
commit
2034bd25bb
@ -6754,8 +6754,10 @@ get_texture_memory_size(Texture *tex) {
|
|||||||
GLP(GetTexLevelParameteriv)(page_target, 0,
|
GLP(GetTexLevelParameteriv)(page_target, 0,
|
||||||
GL_TEXTURE_INTENSITY_SIZE, &intensity_size);
|
GL_TEXTURE_INTENSITY_SIZE, &intensity_size);
|
||||||
if (_supports_depth_texture) {
|
if (_supports_depth_texture) {
|
||||||
GLP(GetTexLevelParameteriv)(page_target, 0,
|
// Actually, this seems to cause problems on some Mesa versions,
|
||||||
GL_TEXTURE_DEPTH_SIZE, &depth_size);
|
// even though they advertise GL_ARB_depth_texture. Who needs it.
|
||||||
|
// GLP(GetTexLevelParameteriv)(page_target, 0,
|
||||||
|
// GL_TEXTURE_DEPTH_SIZE, &depth_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLint width = 1, height = 1, depth = 1;
|
GLint width = 1, height = 1, depth = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user