dolphin/Source/Core/VideoBackends/Null/VideoBackend.h
Stenzek d96e8c9d76 VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methods
Also allows the work previously done in Prepare to return a failure
status.
2018-01-27 13:53:55 +10:00

22 lines
528 B
C++

// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include "VideoCommon/VideoBackendBase.h"
namespace Null
{
class VideoBackend : public VideoBackendBase
{
bool Initialize(void* window_handle) override;
void Shutdown() override;
std::string GetName() const override { return "Null"; }
std::string GetDisplayName() const override { return "Null"; }
void InitBackendInfo() override;
unsigned int PeekMessages() override { return 0; }
};
}