mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 19:39:47 +00:00
forgot to move the clamp calls below
This commit is contained in:
parent
4d68c4dff8
commit
d6a3e477c1
1 changed files with 3 additions and 2 deletions
|
|
@ -189,8 +189,7 @@ void EntityRenderer::renderShadow(Entity* e, float x, float y, float z, float po
|
||||||
Textures* textures = entityRenderDispatcher->textures;
|
Textures* textures = entityRenderDispatcher->textures;
|
||||||
|
|
||||||
|
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
|
||||||
|
|
||||||
Level* level = getLevel();
|
Level* level = getLevel();
|
||||||
|
|
||||||
|
|
@ -223,6 +222,8 @@ void EntityRenderer::renderShadow(Entity* e, float x, float y, float z, float po
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
textures->loadAndBindTexture(("/misc/shadow.png"));
|
textures->loadAndBindTexture(("/misc/shadow.png"));
|
||||||
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||||
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
||||||
tt.draw();
|
tt.draw();
|
||||||
|
|
||||||
glColor4f2(1, 1, 1, 1);
|
glColor4f2(1, 1, 1, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue