OpenTTD Source  20241121-master-g67a0fccfad
video_driver.cpp File Reference

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).
 

Detailed Description

Common code between video driver implementations.

Definition in file video_driver.cpp.