Revision 8c57d77b
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/library/main/DistortedTexture.java | ||
---|---|---|
147 | 147 |
|
148 | 148 |
if( width>max || height>max ) |
149 | 149 |
{ |
150 |
android.util.Log.e("texture","error, trying to upload too large texture of size "+width+" x "+height+". Max is "+max);
|
|
150 |
DistortedLibrary.logMessage("DistortedTexture: error, trying to upload too large texture of size "+width+" x "+height+". Max is "+max);
|
|
151 | 151 |
return false; |
152 | 152 |
} |
153 | 153 |
else |
... | ... | |
178 | 178 |
|
179 | 179 |
if( width>max || height>max ) |
180 | 180 |
{ |
181 |
android.util.Log.e("texture","error, trying to upload too large texture of size "+width+" x "+height+". Max is "+max);
|
|
181 |
DistortedLibrary.logMessage("DistortedTexture: error, trying to upload too large texture of size "+width+" x "+height+". Max is "+max);
|
|
182 | 182 |
return false; |
183 | 183 |
} |
184 | 184 |
else |
Also available in: Unified diff
Decouple (to a large degree) the OpenGL Library from Android.