Trying to get addDrawSurfaces working. Fixed TrRefdef not writing to pointer.