So everything was fine before the latest DXTory update, now though when DXTory is open I cannot switch between windowed/fullscreen without it crashing the game.
The two resolutions are 1920x1080 and 1920x1017 that it switches between when using fullscreen/windowed. Here is the error text generated before the game crashing. When DXTory is not open everything works fine.
QuoteSwitching to resolution 1920x1080 failed, trying lower one
Switching to resolution 1920x1017 failed, trying lower one
Switching to resolution 1920x1080 failed, trying lower one
Switching to resolution 1920x1017 failed, trying lower one
Switching to resolution 1920x1080 failed, trying lower one
Switching to resolution 1920x1017 failed, trying lower one
Switching to resolution 1920x1017 failed, trying lower one
All resolution switches have failed
Screen: could not switch resolution (1920x1017 fs=0 hz=0)