Project

General

Profile

« Previous | Next » 

Revision 3c44dcc7

Added by Leszek Koltunski almost 8 years ago

The only operation which is now enabled 'statically' in render() is blending.

View differences:

src/main/java/org/distorted/examples/fbo/FBORenderer.java
115 115
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
116 116
      {
117 117
      GLES30.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
118
      GLES30.glEnable(GLES30.GL_CULL_FACE);
119
      GLES30.glCullFace(GLES30.GL_BACK);
120
      GLES30.glFrontFace(GLES30.GL_CW);
118 121

  
119 122
      InputStream is1 = mView.getContext().getResources().openRawResource(R.raw.monalisa);
120 123
      InputStream is2 = mView.getContext().getResources().openRawResource(R.raw.grid);

Also available in: Unified diff