summaryrefslogtreecommitdiff
path: root/graphics/asymptote/shaders.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/shaders.h')
-rw-r--r--graphics/asymptote/shaders.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/asymptote/shaders.h b/graphics/asymptote/shaders.h
index 9c0a946dc4..226832a38d 100644
--- a/graphics/asymptote/shaders.h
+++ b/graphics/asymptote/shaders.h
@@ -24,14 +24,12 @@ typedef std::pair<std::string, int> ShaderfileModePair;
GLuint compileAndLinkShader(
std::vector<ShaderfileModePair> const& shaders,
- std::vector<std::string> const& defineflags, bool compute=false);
-
-GLuint createShaders(const std::string& src, int shaderType,
- std::string const& filename, bool compute=false);
+ std::vector<std::string> const& defineflags, bool ssbo=true,
+ bool compute=false);
GLuint createShaderFile(std::string file, int shaderType,
std::vector<std::string> const& constflags,
- bool compute=false);
+ bool ssbo, bool compute);
enum attrib {positionAttrib=0,normalAttrib,materialAttrib,colorAttrib,
widthAttrib};