Merge branch 'master' into jgrpp
# Conflicts: # src/articulated_vehicles.cpp # src/articulated_vehicles.h # src/autoreplace_cmd.cpp # src/build_vehicle_gui.cpp # src/company_gui.cpp # src/core/format.hpp # src/genworld_gui.cpp # src/gfx.cpp # src/group_gui.cpp # src/linkgraph/linkgraph_gui.cpp # src/misc/endian_buffer.hpp # src/music/music_driver.hpp # src/newgrf_gui.cpp # src/rail_cmd.cpp # src/road_gui.cpp # src/settings_type.h # src/strgen/strgen.cpp # src/strings.cpp # src/timetable_cmd.cpp # src/town.h # src/vehicle.cpp # src/vehicle_gui.cpp # src/vehicle_gui_base.h # src/widget.cpp # src/widgets/dropdown.cpp # src/widgets/road_widget.h
This commit is contained in:
@@ -199,7 +199,8 @@ public:
|
||||
/**
|
||||
* Get the currently active instance of the video driver.
|
||||
*/
|
||||
static VideoDriver *GetInstance() {
|
||||
static VideoDriver *GetInstance()
|
||||
{
|
||||
return static_cast<VideoDriver*>(*DriverFactoryBase::GetActiveDriver(Driver::DT_VIDEO));
|
||||
}
|
||||
|
||||
@@ -264,7 +265,8 @@ protected:
|
||||
* Make sure the video buffer is ready for drawing.
|
||||
* @returns True if the video buffer has to be unlocked.
|
||||
*/
|
||||
virtual bool LockVideoBuffer() {
|
||||
virtual bool LockVideoBuffer()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user