Project

General

Profile

« Previous | Next » 

Revision 41a85bb7

Added by Leszek Koltunski almost 6 years ago

Convert everythig to GLES31 (there were some GLES30 remnants)

View differences:

src/main/java/org/distorted/examples/starwars/StarWarsRenderer.java
28 28

  
29 29
import org.distorted.examples.R;
30 30

  
31
import org.distorted.library.effect.EffectName;
32 31
import org.distorted.library.effect.FragmentEffectAlpha;
33 32
import org.distorted.library.effect.MatrixEffectMove;
34 33
import org.distorted.library.effect.MatrixEffectRotate;
......
52 51
import android.graphics.Canvas;
53 52
import android.graphics.Paint;
54 53
import android.graphics.Typeface;
55
import android.opengl.GLES30;
54
import android.opengl.GLES31;
56 55
import android.opengl.GLSurfaceView;
57 56

  
58 57
///////////////////////////////////////////////////////////////////////////////////////////////////
......
432 431
        
433 432
        mBackground = mScreen.attach(mCrawlBackgroundTexture, mCrawlBackgroundEffects,mQuad);
434 433
        mBackground.attach(mCrawlTexture, mCrawlEffects,mQuad);
435
        mBackground.glDisable(GLES30.GL_DEPTH_TEST);
434
        mBackground.glDisable(GLES31.GL_DEPTH_TEST);
436 435
        mBackground.glDepthMask(false);
437 436
        mCrawlEffects.registerForMessages(this);
438 437
        }

Also available in: Unified diff