Revision 8c893ffc
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/library/Distorted.java | ||
---|---|---|
353 | 353 |
GLES20.glDepthFunc(GLES20.GL_LEQUAL); |
354 | 354 |
GLES20.glEnable(GLES20.GL_BLEND); |
355 | 355 |
GLES20.glBlendFunc(GLES20.GL_SRC_ALPHA, GLES20.GL_ONE_MINUS_SRC_ALPHA); |
356 |
|
|
356 |
|
|
357 | 357 |
mTextureUniformH = GLES20.glGetUniformLocation(mProgramH, "u_Texture"); |
358 | 358 |
|
359 | 359 |
mPositionH = GLES20.glGetAttribLocation( mProgramH, "a_Position"); |
Also available in: Unified diff
Further reduce the distortedObject's API - now only 26 methods, 1/4 of the 104 before the reorganization.