Project

General

Profile

« Previous | Next » 

Revision c02f32f7

Added by Leszek Koltunski about 4 years ago

Bugfix: fix a long-standing bug where switching on normal vector drawing would interfere with transparency.

View differences:

src/main/java/org/distorted/library/main/DistortedLibrary.java
511 511
    InternalRenderState.restoreDrawing();
512 512
    GLES30.glEndTransformFeedback();
513 513
    GLES30.glBindBufferBase(GLES30.GL_TRANSFORM_FEEDBACK_BUFFER, 0, 0);
514
    GLES30.glUniform1i(DistortedLibrary.mTransformFeedbackH, 0);
514 515

  
515 516
    mNormalProgram.useProgram();
516 517
    GLES30.glUniformMatrix4fv(mNormalProjectionH, 1, false, projection, 0);

Also available in: Unified diff