forked from Kolyah35/minecraft-pe-0.6.1
opengl and gles and their damn deprecated functions
This commit is contained in:
@@ -1242,7 +1242,8 @@ void LevelRenderer::renderSky(float alpha) {
|
|||||||
|
|
||||||
// ported over void plane (the blue bottom plane seen in java) because pocket edition lacks it @TODO test if it's buggy - shredder
|
// ported over void plane (the blue bottom plane seen in java) because pocket edition lacks it @TODO test if it's buggy - shredder
|
||||||
|
|
||||||
glColor3f(sc.x * 0.2f + 0.04f, sc.y * 0.2f + 0.04f, sc.z * 0.6f + 0.1f);
|
// glColor3f(sc.x * 0.2f + 0.04f, sc.y * 0.2f + 0.04f, sc.z * 0.6f + 0.1f);
|
||||||
|
glColor4f(sc.x * 0.2f + 0.04f, sc.y * 0.2f + 0.04f, sc.z * 0.6f + 0.1f, 1.0f);
|
||||||
glDisable(GL_TEXTURE_2D);
|
glDisable(GL_TEXTURE_2D);
|
||||||
if(mc->options.getBooleanValue(OPTIONS_BETA_SKY)){
|
if(mc->options.getBooleanValue(OPTIONS_BETA_SKY)){
|
||||||
drawArrayVT(voidBuffer, voidVertexCount);
|
drawArrayVT(voidBuffer, voidVertexCount);
|
||||||
|
|||||||
Reference in New Issue
Block a user