Project

General

Profile

« Previous | Next » 

Revision 855ba24e

Added by Leszek Koltunski about 7 years ago

New 'glClearColor' and 'glClearDepthf' APIs in OutputSurface. This fixes the 'transparency' regressions from last commit.

View differences:

src/main/java/org/distorted/examples/movingeffects/MovingEffectsRenderer.java
148 148
   
149 149
   public void onDrawFrame(GL10 glUnused)
150 150
     {   
151
     GLES30.glClear(GLES30.GL_COLOR_BUFFER_BIT | GLES30.GL_DEPTH_BUFFER_BIT);               
152
       
153 151
     long time = System.currentTimeMillis();
154 152
      
155 153
     if (mView.getCurrentEffect() == MovingEffectsSurfaceView.EFFECT_POINTS && mRefresh )

Also available in: Unified diff