mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
migrate ALMOST everything from source tree into client
This commit is contained in:
25
source/client/renderer/DynamicTexture.cpp
Normal file
25
source/client/renderer/DynamicTexture.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/********************************************************************
|
||||
Minecraft: Pocket Edition - Decompilation Project
|
||||
Copyright (C) 2023 iProgramInCpp
|
||||
|
||||
The following code is licensed under the BSD 1 clause license.
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
#include "DynamicTexture.hpp"
|
||||
#include "Utils.hpp"
|
||||
|
||||
DynamicTexture::DynamicTexture(int a2) : m_textureIndex(a2)
|
||||
{
|
||||
memset(m_pixels, 0, sizeof m_pixels);
|
||||
}
|
||||
|
||||
void DynamicTexture::bindTexture(Textures* pTextures)
|
||||
{
|
||||
pTextures->loadAndBindTexture(C_TERRAIN_NAME);
|
||||
}
|
||||
|
||||
DynamicTexture::~DynamicTexture()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user