21 lines
447 B
C
21 lines
447 B
C
#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
|