mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-06 08:45:31 +00:00
cleanup: flatten dead branches in world io level network and stats
This commit is contained in:
@@ -429,17 +429,3 @@ FloatBuffer* ByteBuffer::asFloatBuffer() {
|
||||
(float*)(buffer + m_position));
|
||||
}
|
||||
|
||||
#if 0
|
||||
// we're using the RSX now to upload textures to vram, so we need th main ram
|
||||
// textures allocated from io space
|
||||
ByteBuffer_IO::ByteBuffer_IO(unsigned int capacity)
|
||||
: ByteBuffer(capacity, (uint8_t*)RenderManager.allocIOMem(capacity, 64)) {
|
||||
memset(buffer, 0, sizeof(uint8_t) * capacity);
|
||||
byteOrder = BIGENDIAN;
|
||||
}
|
||||
|
||||
ByteBuffer_IO::~ByteBuffer_IO() {
|
||||
// delete buffer;
|
||||
RenderManager.freeIOMem(buffer);
|
||||
}
|
||||
#endif // 0
|
||||
|
||||
Reference in New Issue
Block a user