* commit 'af4ae923c3f8a2e40d74eb6291da16b4a6514449': Use black for blackout layer
This commit is contained in:
commit
9c8b3097e6
@ -46,7 +46,7 @@ GLES11RenderEngine::GLES11RenderEngine() {
|
|||||||
}
|
}
|
||||||
} pack565;
|
} pack565;
|
||||||
|
|
||||||
const uint16_t protTexData[] = { pack565(0x03, 0x03, 0x03) };
|
const uint16_t protTexData[] = { 0 };
|
||||||
glGenTextures(1, &mProtectedTexName);
|
glGenTextures(1, &mProtectedTexName);
|
||||||
glBindTexture(GL_TEXTURE_2D, mProtectedTexName);
|
glBindTexture(GL_TEXTURE_2D, mProtectedTexName);
|
||||||
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||||
|
@ -50,7 +50,7 @@ GLES20RenderEngine::GLES20RenderEngine() :
|
|||||||
}
|
}
|
||||||
} pack565;
|
} pack565;
|
||||||
|
|
||||||
const uint16_t protTexData[] = { pack565(0x03, 0x03, 0x03) };
|
const uint16_t protTexData[] = { 0 };
|
||||||
glGenTextures(1, &mProtectedTexName);
|
glGenTextures(1, &mProtectedTexName);
|
||||||
glBindTexture(GL_TEXTURE_2D, mProtectedTexName);
|
glBindTexture(GL_TEXTURE_2D, mProtectedTexName);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||||
|
Loading…
Reference in New Issue
Block a user