Permalink
Browse files

Fix calling wrong method in TextureWarmUpVertexBufferObject =).

  • Loading branch information...
1 parent 59b7cd7 commit adcc1a0325e23cde2f026e8b532cd3a1399a3639 Nicolas Gramlich committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/andengine/opengl/texture/TextureWarmUpVertexBufferObject.java
View
2 src/org/andengine/opengl/texture/TextureWarmUpVertexBufferObject.java
@@ -99,7 +99,7 @@ public void warmup(final GLState pGLState, final ITexture pTexture) {
pGLState.pushModelViewGLMatrix();
{
/* Far far away and really small. */
- pGLState.resetModelViewGLMatrixStack();
+ pGLState.loadModelViewGLMatrixIdentity();
pGLState.translateModelViewGLMatrixf(1000000, 1000000, 0);
pGLState.scaleModelViewGLMatrixf(0.0001f, 0.0001f, 0);

0 comments on commit adcc1a0

Please sign in to comment.