mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Fixes to fancy pants grass detection, etc.
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
|
||||
bool Textures::MIPMAP = false;
|
||||
|
||||
int Textures::loadTexture(const std::string& name, bool b)
|
||||
int Textures::loadTexture(const std::string& name, bool bIsRequired)
|
||||
{
|
||||
std::map<std::string, GLuint>::iterator i = m_textures.find(name);
|
||||
if (i != m_textures.end())
|
||||
return i->second;
|
||||
|
||||
Texture t = m_pPlatform->loadTexture(name, b);
|
||||
Texture t = m_pPlatform->loadTexture(name, bIsRequired);
|
||||
|
||||
int result = -1;
|
||||
if (t.m_pixels)
|
||||
|
||||
Reference in New Issue
Block a user