Commit 6410c8c4 authored by Andy McFadden's avatar Andy McFadden Committed by Android (Google) Code Review
Browse files

Merge "Use black for blackout layer" into klp-dev

parents 9c0dfa09 c6f21695
......@@ -46,7 +46,7 @@ GLES11RenderEngine::GLES11RenderEngine() {
}
} pack565;
const uint16_t protTexData[] = { pack565(0x03, 0x03, 0x03) };
const uint16_t protTexData[] = { 0 };
glGenTextures(1, &mProtectedTexName);
glBindTexture(GL_TEXTURE_2D, mProtectedTexName);
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
......
......@@ -50,7 +50,7 @@ GLES20RenderEngine::GLES20RenderEngine() :
}
} pack565;
const uint16_t protTexData[] = { pack565(0x03, 0x03, 0x03) };
const uint16_t protTexData[] = { 0 };
glGenTextures(1, &mProtectedTexName);
glBindTexture(GL_TEXTURE_2D, mProtectedTexName);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment