Fixed SDL platform layer to be separate from Windows platform layer

This commit is contained in:
Michael Smith
2019-01-15 16:29:26 +01:00
parent 5b572c214c
commit 4ff1d8b7ff
4 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
#include <errno.h>
#include <dlfcn.h>
#include "platform.h"
#include "sdl_platform.h"
const char *WindowTitle = "Ray Tracing in a Weekend";

View File

@@ -1,5 +1,5 @@
#ifndef PLATFORM_H
#define PLATFORM_H
#ifndef SDL_PLATFORM_H
#define SDL_PLATFORM_H
typedef void plugin_update_and_render(plugin_offscreen_buffer *Buffer);