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/dynamic/DynamicRenderer.java
101 101
   
102 102
   public void onDrawFrame(GL10 glUnused)
103 103
     {   
104
     GLES30.glClear(GLES30.GL_COLOR_BUFFER_BIT | GLES30.GL_DEPTH_BUFFER_BIT);               
105
       
106 104
     long time = System.currentTimeMillis();
107 105
      
108 106
     mCanvas.drawRect(0, 0, texW, texH, mPaint);

Also available in: Unified diff