Possible fix for the bug on compressed DDS textures in the JOGL backend
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10743 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
b7042af8ce
commit
166373230c
@ -297,7 +297,7 @@ public class TextureUtil {
|
|||||||
mipWidth,
|
mipWidth,
|
||||||
mipHeight,
|
mipHeight,
|
||||||
mipDepth,
|
mipDepth,
|
||||||
0,
|
data.remaining(),
|
||||||
border,
|
border,
|
||||||
data);
|
data);
|
||||||
}else{
|
}else{
|
||||||
@ -307,7 +307,7 @@ public class TextureUtil {
|
|||||||
glFmt.internalFormat,
|
glFmt.internalFormat,
|
||||||
mipWidth,
|
mipWidth,
|
||||||
mipHeight,
|
mipHeight,
|
||||||
0,
|
data.remaining(),
|
||||||
border,
|
border,
|
||||||
data);
|
data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user