mirror of https://github.com/bjornbytes/lovr.git
macOS fixes;
This commit is contained in:
parent
fb1447503b
commit
1145085446
|
@ -236,7 +236,7 @@
|
||||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__)
|
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__) || defined(__APPLE__)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
#else // STB_VORBIS_NO_CRT
|
#else // STB_VORBIS_NO_CRT
|
||||||
|
|
|
@ -2626,7 +2626,7 @@ Shader* lovrShaderCreateGraphics(const char* vertexSource, int vertexSourceLengt
|
||||||
const char* computeExtensions = state.features.compute ?
|
const char* computeExtensions = state.features.compute ?
|
||||||
"#extension GL_ARB_shader_storage_buffer_object : enable\n"
|
"#extension GL_ARB_shader_storage_buffer_object : enable\n"
|
||||||
"#extension GL_ARB_shader_image_load_store : enable\n" :
|
"#extension GL_ARB_shader_image_load_store : enable\n" :
|
||||||
NULL;
|
"";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char* singlepass[2] = { "", "" };
|
const char* singlepass[2] = { "", "" };
|
||||||
|
|
Loading…
Reference in New Issue