OSDN Git Service

[fixed] use 16-bit rgb for textures in qbob! Super mega hyper performance boost on...
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Fri, 24 Jun 2011 22:29:26 +0000 (22:29 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Fri, 24 Jun 2011 22:29:26 +0000 (22:29 +0000)
extensions/model-loaders/model-loaders/src/com/badlogic/gdx/graphics/g3d/test/QbobViewer.java

index 044bb64..7751aa5 100644 (file)
@@ -87,7 +87,7 @@ public class QbobViewer implements ApplicationListener {
                Gdx.gl.glActiveTexture(GL10.GL_TEXTURE0);\r
                Gdx.gl.glEnable(GL10.GL_TEXTURE_2D);\r
                diffuse.bind();\r
-               diffuse.setFilter(TextureFilter.MipMapNearestNearest, TextureFilter.Linear);                            \r
+               diffuse.setFilter(TextureFilter.MipMap, TextureFilter.Linear);                          \r
                \r
                Gdx.gl.glActiveTexture(GL10.GL_TEXTURE1);\r
                Gdx.gl.glEnable(GL10.GL_TEXTURE_2D);\r