Fix some compile errors

This commit is contained in:
Magnus Norddahl 2023-12-31 07:02:32 +01:00 committed by Christoph Oelckers
parent 426837e7d4
commit 4613c0354b
2 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,7 @@
#include <vector>
#include <unordered_map>
#include <stdexcept>
#include <cstring>
class CanvasTexture
{

View file

@ -1,5 +1,6 @@
#include "window/window.h"
#include <stdexcept>
#ifdef WIN32
@ -67,12 +68,12 @@ Size DisplayWindow::GetScreenSize()
throw std::runtime_error("DisplayWindow::GetScreenSize not implemented");
}
int DisplayWindow::StartTimer(int timeoutMilliseconds, std::function<void()> onTimer)
void* DisplayWindow::StartTimer(int timeoutMilliseconds, std::function<void()> onTimer)
{
throw std::runtime_error("DisplayWindow::StartTimer not implemented");
}
void DisplayWindow::StopTimer(int timerID)
void DisplayWindow::StopTimer(void* timerID)
{
throw std::runtime_error("DisplayWindow::StopTimer not implemented");
}