TFT code works fine in uno but not in mega

i have tried both direct configuration as shown in the image i uploaded and i also tried via the mega hardware SPI pins , and the sketch i uploaded was of hardware SPI configuration but i have tried both . pin 10 as well as pin 53.

the hardware spi used pin 50,51,52,53 for SD-DO,SD-DI,SD-SCK and SD-SS respectively.
rest all pin as it is...........