Header cleanup;

This commit is contained in:
bjorn 2019-01-24 17:43:25 -08:00
parent 5770b63108
commit 6fd4b9ef4c
7 changed files with 2 additions and 7 deletions

View File

@ -103,6 +103,7 @@ int l_lovrShaderBlockGetShaderCode(lua_State* L) {
size_t length;
char* code = lovrShaderBlockGetShaderCode(block, blockName, &length);
lua_pushlstring(L, code, length);
free(code);
return 1;
}

View File

@ -3,7 +3,6 @@
#include "platform.h"
#include "util.h"
#include <physfs.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __APPLE__

View File

@ -5,7 +5,6 @@
#include "data/textureData.h"
#include "util.h"
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -6,7 +6,6 @@
#include "data/vertexData.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
static void renderNode(Model* model, int nodeIndex, int instances) {
ModelNode* node = &model->modelData->nodes[nodeIndex];

View File

@ -2,9 +2,8 @@
#include "event/event.h"
#include "graphics/graphics.h"
#include "graphics/texture.h"
#include "lib/math.h"
#include "lib/vec/vec.h"
#include "math/mat4.h"
#include "math/quat.h"
#include <stdbool.h>
#include <OVR_CAPI.h>

View File

@ -7,7 +7,6 @@
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
lua_State* lovrInit(lua_State* L, int argc, char** argv);
void lovrQuit(int status);

View File

@ -1,6 +1,5 @@
#include "thread/channel.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
Channel* lovrChannelInit(Channel* channel) {