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

#include <string>

#include <GL/glew.h>

namespace util {

GLint getUniform(GLuint program, const std::string& name);

GLint compileShader(const std::string& source, GLenum type);

}