Files
OpenGL_experiments/src/Renderer.h
2022-01-20 02:09:24 +01:00

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