mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 03:25:45 +01:00
cleanup
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#if __INCLUDE_LEVEL__ > 0
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#define ERROR_STR_PRE(v) #v
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../error.h"
|
||||
#include "shader.h"
|
||||
@@ -56,7 +54,7 @@ int render_init(void) {
|
||||
|
||||
// set VBO info
|
||||
glBindBuffer(GL_ARRAY_BUFFER, vbo);
|
||||
glEnableVertexAttribArray(0);
|
||||
glEnableVertexAttribArray(0); // set the array data index to 0
|
||||
glVertexAttribIPointer(0, 4, GL_INT, 4 * sizeof(int32_t), NULL);
|
||||
|
||||
glBindVertexArray(0);
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "../error.h"
|
||||
#include "atrb.h"
|
||||
|
||||
Reference in New Issue
Block a user