* Put rangeCheck() back
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9743 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
105d27fddf
commit
f7a653088f
@ -36,7 +36,7 @@ public class DefaultImageRaster extends ImageRaster {
|
||||
|
||||
@Override
|
||||
public void setPixel(int x, int y, ColorRGBA color) {
|
||||
// rangeCheck(x, y);
|
||||
rangeCheck(x, y);
|
||||
|
||||
// Check flags for grayscale
|
||||
if (codec.isGray) {
|
||||
@ -71,7 +71,7 @@ public class DefaultImageRaster extends ImageRaster {
|
||||
|
||||
@Override
|
||||
public ColorRGBA getPixel(int x, int y, ColorRGBA store) {
|
||||
// rangeCheck(x, y);
|
||||
rangeCheck(x, y);
|
||||
|
||||
codec.readComponents(buffer, x, y, width, components, temp);
|
||||
if (store == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user