Move the backend files around a bit

This commit is contained in:
Clownacy 2019-07-15 17:01:42 +01:00
parent 15bfd00d25
commit b84661d88a
3 changed files with 8 additions and 8 deletions

View file

@ -247,9 +247,9 @@ if(NONPORTABLE)
endif()
if(RENDERER MATCHES "Texture")
target_sources(CSE2 PRIVATE "src/Backends/SDLTexture.cpp")
target_sources(CSE2 PRIVATE "src/Backends/Rendering/SDLTexture.cpp")
elseif(RENDERER MATCHES "Software")
target_sources(CSE2 PRIVATE "src/Backends/SDLSoftware.cpp")
target_sources(CSE2 PRIVATE "src/Backends/Rendering/Software.cpp")
endif()
# Make some tweaks if we're targetting Windows

View file

@ -1,13 +1,13 @@
#include "Rendering.h"
#include "../Rendering.h"
#include <stddef.h>
#include <stdlib.h>
#include "SDL.h"
#include "../WindowsWrapper.h"
#include "../../WindowsWrapper.h"
#include "../Font.h"
#include "../../Font.h"
struct Backend_Surface
{

View file

@ -1,13 +1,13 @@
#include "Rendering.h"
#include "../Rendering.h"
#include <stddef.h>
#include <stdlib.h>
#include "SDL.h"
#include "../WindowsWrapper.h"
#include "../../WindowsWrapper.h"
#include "../Font.h"
#include "../../Font.h"
struct Backend_Surface
{