Update TextureBuffer.cpp