summaryrefslogtreecommitdiff
path: root/src/script/api/script_cargo.hpp
diff options
context:
space:
mode:
authorxdavidwu <xdavidwuph@gmail.com>2020-01-16 04:16:53 +0800
committerCharles Pigott <charlespigott@googlemail.com>2020-01-15 20:16:53 +0000
commit8fe38afd2b335831a5659e5ef44254fde769c727 (patch)
treec542382deebbcb870d76718fa1afb8682fb7f801 /src/script/api/script_cargo.hpp
parentd7a928a08b0d614bc06f4a6e8a275582a100599f (diff)
downloadopenttd-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/script_cargo.hpp')
0 files changed, 0 insertions, 0 deletions