make sure BLEND is enabled
This commit is contained in:
parent
088f3e2385
commit
c99ae9237e
@ -91,6 +91,7 @@ public final class TextureRenderer {
|
|||||||
|
|
||||||
public static Layer draw(Layer layer, float scale, float[] projection, float matrix[]) {
|
public static Layer draw(Layer layer, float scale, float[] projection, float matrix[]) {
|
||||||
GLState.test(false, false);
|
GLState.test(false, false);
|
||||||
|
GLES20.glEnable(GLES20.GL_BLEND);
|
||||||
// GlUtils.checkGlError("draw texture >");
|
// GlUtils.checkGlError("draw texture >");
|
||||||
GLES20.glUseProgram(mTextureProgram);
|
GLES20.glUseProgram(mTextureProgram);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user