1
0
rwu_particles_informatikpro.../initOpenGL.h

19 lines
621 B
C
Raw Normal View History

#include "glad/glad.h"
#include <GLFW/glfw3.h>
void initGlad();
void initGLFW();
void setErrorCallbackGL();
void setFramebufferSizeCallbackGL(GLFWwindow *window);
void setCurrentContextGL(GLFWwindow *window);
GLFWwindow *createGLFWWindow(int width, int height, char *title);
void terminateGLFW(GLFWwindow *window);
void errorCallback(int error, const char* description);
void framebufferSizeCallback(GLFWwindow *window, int width, int height);
2020-03-08 20:03:48 +00:00
GLuint compileShader(const GLchar *shaderSource, GLenum shaderType);
GLuint linkShaders(GLuint *shaders, GLsizei count);
2020-04-01 20:17:35 +00:00
void deleteShaders(GLuint *shaders, GLsizei count);