mirror of https://github.com/bjornbytes/lovr.git
Fix windows build;
This commit is contained in:
parent
fa4f240b7b
commit
6e75ebafac
|
@ -303,7 +303,9 @@ set(LOVR_SRC
|
||||||
src/main.c
|
src/main.c
|
||||||
src/util.c
|
src/util.c
|
||||||
src/luax.c
|
src/luax.c
|
||||||
|
src/types.c
|
||||||
src/api/lovr.c
|
src/api/lovr.c
|
||||||
|
src/lib/utf.c
|
||||||
src/lib/math.c
|
src/lib/math.c
|
||||||
src/lib/map/map.c
|
src/lib/map/map.c
|
||||||
src/lib/vec/vec.c
|
src/lib/vec/vec.c
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include <AL/alc.h>
|
#include <AL/alc.h>
|
||||||
#include <AL/alext.h>
|
#include <AL/alext.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "lib/stb/stb_vorbis.h"
|
#include "lib/stb/stb_vorbis.h"
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
SoundData* lovrSoundDataInit(SoundData* soundData, int samples, int sampleRate, int bitDepth, int channelCount) {
|
SoundData* lovrSoundDataInit(SoundData* soundData, int samples, int sampleRate, int bitDepth, int channelCount) {
|
||||||
soundData->samples = samples;
|
soundData->samples = samples;
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
#include "lib/glad/glad.h"
|
#include "lib/glad/glad.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define GPU_BUFFER_FIELDS \
|
#define GPU_BUFFER_FIELDS \
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "math/randomGenerator.h"
|
#include "math/randomGenerator.h"
|
||||||
|
#include "util.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in New Issue