forked from mirrors/kolyah35-minecraft-pe-0.6.1
opengl and gles and their damn deprecated functions
This commit is contained in:
parent
9cd91b1508
commit
edc6985a6b
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue