FLT divide by zero trying to create renderer for NVIDIA gpu

Hi everyone, how are you doing?

I am receiving an “FLT divide by zero” error when trying to create a renderer with

// will default to Direct3d renderer
FSDLWindow := SDL_CreateWindow(FTitle, LMonitor.x, LMonitor.y, LMonitor.w, LMonitor.h, 0);  
SDL_CreateRenderer(FSDLWindow, -1, SDL_RENDERER_ACCELERATED);

My notebook have two GPUs, an on-board Intel and a discrete NVIDIA , and the error happens only on NVIDIA. Here ("FLT divide by zero" when SDL2 window running on NVIDIA GPU) Jamie suggests that I may need to:

Set8087CW($133f)

and Tron suggests:

SetExceptionMask

Calling these functions during the OnCreate in the main form did not solve the problem.

Can you shed some light on this?