* Fix issue 391
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
e574e73b68
commit
1ef93999a3
@ -1846,7 +1846,7 @@ public class LwjglRenderer implements Renderer {
|
||||
} else {
|
||||
// glTexParameteri(target, GL_TEXTURE_BASE_LEVEL, 0 );
|
||||
if (img.getMipMapSizes() != null) {
|
||||
glTexParameteri(target, GL_TEXTURE_MAX_LEVEL, img.getMipMapSizes().length);
|
||||
glTexParameteri(target, GL_TEXTURE_MAX_LEVEL, img.getMipMapSizes().length - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user