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__)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__)
|
||||
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__NEWLIB__) || defined(__APPLE__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#else // STB_VORBIS_NO_CRT
|
||||
|
|
|
@ -2624,9 +2624,9 @@ Shader* lovrShaderCreateGraphics(const char* vertexSource, int vertexSourceLengt
|
|||
#else
|
||||
const char* version = "#version 330\n";
|
||||
const char* computeExtensions = state.features.compute ?
|
||||
"#extension GL_ARB_shader_storage_buffer_object : enable \n"
|
||||
"#extension GL_ARB_shader_image_load_store : enable \n" :
|
||||
NULL;
|
||||
"#extension GL_ARB_shader_storage_buffer_object : enable\n"
|
||||
"#extension GL_ARB_shader_image_load_store : enable\n" :
|
||||
"";
|
||||
#endif
|
||||
|
||||
const char* singlepass[2] = { "", "" };
|
||||
|
|
Loading…
Reference in New Issue