Init Repository
This commit is contained in:
20
src/Renderer.h
Normal file
20
src/Renderer.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef OPENGLINITIALIZATION
|
||||
#define OPENGLINITIALIZATION
|
||||
|
||||
#include <glad/glad.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
|
||||
GLFWwindow* initOpenGL();
|
||||
|
||||
void WindowGotResized(GLFWwindow* window, int width, int height);
|
||||
|
||||
unsigned int compileShaderProgram(const char** vertexSrc, const char** fragmentSrc);
|
||||
|
||||
unsigned int loadCompileShader(char* vertexPath, char* fragmentPath);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user