aboutsummaryrefslogtreecommitdiff
path: root/shader.h
blob: 6a4739eaefdead7852551b1a4b8dd6f9fb7f95b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <stdlib.h>
#include <GL/glew.h>
#include <GL/gl.h>
#include <GLFW/glfw3.h>

#define LOG_MAX 512

GLuint frag_shader(const char* const src, size_t src_size);
GLuint vert_shader(const char* const src, size_t src_size);
GLuint link_shaders(GLuint vert, GLuint frag);