mirror of https://github.com/bjornbytes/lovr.git
Header cleanup;
This commit is contained in:
parent
5770b63108
commit
6fd4b9ef4c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include "platform.h"
|
||||
#include "util.h"
|
||||
#include <physfs.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __APPLE__
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "data/textureData.h"
|
||||
#include "util.h"
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#include "thread/channel.h"
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Channel* lovrChannelInit(Channel* channel) {
|
||||
|
|
Loading…
Reference in New Issue