Skip to content

Commit 11e7667

Browse files
authored
Merge pull request #8 from Unity-Technologies/linux
Add Vulkan support to the Linux native rendering plugin example
2 parents 2b8ca29 + dd8772e commit 11e7667

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PluginSource/projects/GNUMake/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
SRCDIR = ../../source
22
SRCS = $(SRCDIR)/RenderingPlugin.cpp \
33
$(SRCDIR)/RenderAPI.cpp \
4-
$(SRCDIR)/RenderAPI_OpenGLCoreES.cpp
4+
$(SRCDIR)/RenderAPI_OpenGLCoreES.cpp \
5+
$(SRCDIR)/RenderAPI_Vulkan.cpp
56
OBJS = ${SRCS:.cpp=.o}
6-
UNITY_DEFINES = -DSUPPORT_OPENGL_UNIFIED=1 -DUNITY_LINUX=1
7+
UNITY_DEFINES = -DSUPPORT_OPENGL_UNIFIED=1 -DSUPPORT_VULKAN=1 -DUNITY_LINUX=1
78
CXXFLAGS = $(UNITY_DEFINES) -O2 -fPIC
89
LDFLAGS = -shared -rdynamic
910
LIBS =
15.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)