浏览代码

deleted some undefined functions

naelstrof 8 年前
父节点
当前提交
33133e0938
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      src/shader.hpp

+ 0
- 2
src/shader.hpp 查看文件

48
     void            setParameter( std::string name, glm::vec2 foo );
48
     void            setParameter( std::string name, glm::vec2 foo );
49
     void            setAttribute( std::string name, unsigned int buffer, unsigned int stepsize );
49
     void            setAttribute( std::string name, unsigned int buffer, unsigned int stepsize );
50
 private:
50
 private:
51
-    void loadFromFile( std::string vert, std::string frag );
52
-    void loadFromMemory( std::string vert, std::string frag );
53
     std::vector<unsigned int>   activeAttributes;
51
     std::vector<unsigned int>   activeAttributes;
54
     unsigned int                getUniformLocation( std::string );
52
     unsigned int                getUniformLocation( std::string );
55
     int                         compile( unsigned int shader, std::string& error );
53
     int                         compile( unsigned int shader, std::string& error );