diff --git a/src/lightmap/gpuraytracer.cpp b/src/lightmap/gpuraytracer.cpp index eea25b5..997a016 100644 --- a/src/lightmap/gpuraytracer.cpp +++ b/src/lightmap/gpuraytracer.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "glsl_rgen_bounce.h" #include "glsl_rgen_light.h" #include "glsl_rgen_ambient.h" diff --git a/src/lightmap/lightmaptexture.h b/src/lightmap/lightmaptexture.h index 52ccfc5..1899ffb 100644 --- a/src/lightmap/lightmaptexture.h +++ b/src/lightmap/lightmaptexture.h @@ -1,6 +1,7 @@ #pragma once +#include #include class LightmapTexture diff --git a/src/lightmap/pngwriter.h b/src/lightmap/pngwriter.h index 36c4fe9..681b0f2 100644 --- a/src/lightmap/pngwriter.h +++ b/src/lightmap/pngwriter.h @@ -13,7 +13,7 @@ public: DataBuffer(int size) : size(size) { data = new uint8_t[size]; } ~DataBuffer() { delete[] data; } int size; - void* data; + uint8_t* data; }; private: