Fixed some stuff for linux

This commit is contained in:
Lauchmelder23 2021-04-24 14:35:49 +02:00
parent ba78ffb55a
commit 8ff0978e6b
107 changed files with 8097 additions and 13 deletions

View file

@ -1,7 +1,9 @@
#include "graphics/RenderTarget.hpp"
#include <stdexcept>
#include <SDL.h>
#include <Util.hpp>
#include "Util.hpp"
SDLU_BEGIN
RenderTarget::~RenderTarget()
@ -76,4 +78,4 @@ RenderTarget::RenderTarget(SDL_Surface* target) :
m_oTimeSinceLastDisplay = std::chrono::steady_clock::now();
}
SDLU_END
SDLU_END

Binary file not shown.

View file

@ -1,5 +1,4 @@
#include "structures/Time.hpp"
#include "..\..\include\structures\Time.hpp"
SDLU_BEGIN
@ -180,4 +179,4 @@ Time& operator%=(Time& left, const Time& right)
return left;
}
SDLU_END
SDLU_END

View file

@ -1,5 +1,7 @@
#include "structures/Window.hpp"
#include <stdexcept>
#include <SDL.h>
#include <cstring>
@ -223,4 +225,4 @@ bool Window::OnResize()
void Window::OnClose()
{
}
SDLU_END
SDLU_END