OpenTTD Source 20241224-master-gf74b0cf984
|
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"
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 25 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 26 of file video_driver.cpp.
Referenced by GameOptionsWindow::OnClick(), and GameOptionsWindow::OnInvalidateData().