Update video_hardware_surface.cpp

speed up