fix camera to SDL2
rename testCam into global  main