|
OpenTTD Source 20251116-master-g21329071df
|
Common code between video driver implementations. More...
#include "../stdafx.h"#include "../core/random_func.hpp"#include "../network/network.h"#include "../blitter/factory.hpp"#include "../debug.h"#include "../driver.h"#include "../fontcache.h"#include "../gfx_func.h"#include "../gfxinit.h"#include "../progress.h"#include "../rev.h"#include "../thread.h"#include "../window_func.h"#include "video_driver.hpp"#include "../safeguards.h"Go to the source code of this file.
Variables | |
| bool | _video_hw_accel |
| Whether to consider hardware accelerated video drivers on startup. | |
| bool | _video_vsync |
| Whether we should use vsync (only if active video driver supports HW acceleration). | |
Common code between video driver implementations.
Definition in file video_driver.cpp.
| bool _video_hw_accel |
Whether to consider hardware accelerated video drivers on startup.
Definition at line 27 of file video_driver.cpp.
Referenced by GameOptionsWindow::OnClick(), GameOptionsWindow::OnInvalidateData(), and DriverFactoryBase::SelectDriverImpl().
| bool _video_vsync |
Whether we should use vsync (only if active video driver supports HW acceleration).
Definition at line 28 of file video_driver.cpp.
Referenced by GameOptionsWindow::OnClick(), and GameOptionsWindow::OnInvalidateData().