diff options
author | xdavidwu <xdavidwuph@gmail.com> | 2020-01-16 04:16:53 +0800 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-01-15 20:16:53 +0000 |
commit | 8fe38afd2b335831a5659e5ef44254fde769c727 (patch) | |
tree | c542382deebbcb870d76718fa1afb8682fb7f801 /src/script/api/template | |
parent | d7a928a08b0d614bc06f4a6e8a275582a100599f (diff) | |
download | openttd-8fe38afd2b335831a5659e5ef44254fde769c727.tar.xz |
Fix: [SDL2] Correct name of the video driver in debug log
SDL_GetVideoDriver(0) returns name of first video driver included in
the library, not the driver currently used.
SDL_GetCurrentVideoDriver() does what we want here.
Diffstat (limited to 'src/script/api/template')
0 files changed, 0 insertions, 0 deletions