Update CPreRendering.cpp