summaryrefslogtreecommitdiffstats
path: root/source/render/render_include.h
blob: 863301715afb389d792f3d8b7665bae659bf2770 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef RENDER_INCLUDE_H
#define RENDER_INCLUDE_H

// NOTE: sits on top of base, doesn't know about the platform layer.

#ifndef VULKAN
#define VULKAN 0
#endif
#ifndef OPENGL
#define OPENGL 0
#endif

#if VULKAN
// #include <vulkan/vulkan.h>
#endif

//-
#include "render_2d.h"

#if VULKAN
#include "render_vulkan.h"
#include "render_vulkan.cpp"
#endif

#endif // RENDER_INCLUDE_H