srgb_to_rgb
function in the shader and call it on the sampled color from the texture, before mixing it with the other colorsm_Data.m_aChunkData
being initialized before it is used here? https://github.com/ChillerDragon/teeworlds/blob/1fc3b63c873e4813f1ff7805428c8a335cc4e70f/src/engine/shared/network.cpp#L45unsigned char *pEnd = m_Data.m_aChunkData + m_Data.m_DataSize;
this line is reading/using m_Data.m_aChunkData
isnt it?