Raspberry pi with spi screen 3.5"

I use a raspberry pi 1b with spi screen 3.5" (driver and tutor here 3.5inch RPi Display - LCD wiki ).

The raspberry OS desktop is displayed nice on the spi screen but when i start my SDL2 application, it displayed on the HDMI screen.

What i need to do for displayed my applicationon on spi screen ?