make sure BLEND is enabled

This commit is contained in:
Hannes Janetzek 2013-01-10 06:45:47 +01:00
parent 088f3e2385
commit c99ae9237e

View File

@ -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);