Lv_disp_is_double_buf() has Null Buffer

I am in the process of porting our project from 5.3 to 6 and believe I have most issues resolved, however when I run the Windows Simulation (Visual Studio version, as we dont yet have hardware) it crashes when it enters the function lv_disp_is_double_buf() in lv_hal_disp.c. The issue is that the buffer is null. Why would this be? what have i missed?

I assume that you did register a buffer in your display initialization function? You might want to check that the buffer registration function actually gets called.

Many thanks. I did have it in there but it was an order issue.