import java.util.ArrayList;\r
\r
import android.graphics.Bitmap;\r
-import android.opengl.GLES10;\r
import android.opengl.GLUtils;\r
import android.util.Log;\r
\r
Gdx.gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, getTextureWrap(vWrap));\r
}\r
\r
- private int getTextureFilter (TextureFilter filter) {\r
+ private int getTextureFilter (TextureFilter filter) { \r
+ \r
if (filter == TextureFilter.Linear)\r
- return GLES10.GL_LINEAR;\r
+ return GL10.GL_LINEAR;\r
else if (filter == TextureFilter.Nearest)\r
- return GLES10.GL_NEAREST;\r
+ return GL10.GL_NEAREST;\r
else if (filter == TextureFilter.MipMap)\r
- return GLES10.GL_NEAREST_MIPMAP_LINEAR;\r
+ return GL10.GL_NEAREST_MIPMAP_LINEAR;\r
else if (filter == TextureFilter.MipMapNearestNearest)\r
- return GLES10.GL_NEAREST_MIPMAP_NEAREST;\r
+ return GL10.GL_NEAREST_MIPMAP_NEAREST;\r
else if (filter == TextureFilter.MipMapNearestLinear)\r
- return GLES10.GL_NEAREST_MIPMAP_LINEAR;\r
+ return GL10.GL_NEAREST_MIPMAP_LINEAR;\r
else if (filter == TextureFilter.MipMapLinearNearest)\r
- return GLES10.GL_LINEAR_MIPMAP_NEAREST;\r
+ return GL10.GL_LINEAR_MIPMAP_NEAREST;\r
else if (filter == TextureFilter.MipMapLinearLinear)\r
- return GLES10.GL_LINEAR_MIPMAP_LINEAR;\r
+ return GL10.GL_LINEAR_MIPMAP_LINEAR;\r
else\r
- return GLES10.GL_LINEAR_MIPMAP_LINEAR;\r
+ return GL10.GL_LINEAR_MIPMAP_LINEAR;\r
}\r
\r
private int getTextureWrap (TextureWrap wrap) {\r