triangle
This commit is contained in:
9
include/main.h
Normal file
9
include/main.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef main_h
|
||||
#define main_h
|
||||
#include <glad/glad.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
void glfwError(int id, const char *description);
|
||||
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
|
||||
unsigned int parseShader(const char *filePath, const GLenum shaderType);
|
||||
unsigned int linkShader(unsigned int vertexShader, unsigned int fragmentShader);
|
||||
#endif
|
||||
Reference in New Issue
Block a user