VideoBackend: Remove PeekMessages method

The video thread and backend no longer create any windows, therefore
there will never be any messages dispatched to their thread.
This commit is contained in:
Stenzek
2018-01-26 15:12:26 +10:00
parent d96e8c9d76
commit c790077c13
10 changed files with 0 additions and 38 deletions

View File

@ -26,19 +26,6 @@
namespace DX11
{
unsigned int VideoBackend::PeekMessages()
{
MSG msg;
while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE))
{
if (msg.message == WM_QUIT)
return FALSE;
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return TRUE;
}
std::string VideoBackend::GetName() const
{
return "D3D";