- Timestamp:
- Dec 20, 2006, 1:57:39 AM (18 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/shader.cc
r10034 r10118 35 35 void Shader::Uniform::setV(unsigned int count, float* vv) const 36 36 { 37 if (Shader::isSupported()) 37 if (Shader::isSupported()) 38 38 switch (count) 39 39 { … … 54 54 void Shader::Uniform::setV(unsigned int count, int* vv) const 55 55 { 56 if (Shader::isSupported()) 56 if (Shader::isSupported()) 57 57 switch (count) 58 58 { … … 70 70 break; 71 71 } 72 } 73 74 75 Shader::Shader(const Shader& shader) 76 : data(shader.data) 77 { 78 72 79 } 73 80 -
trunk/src/lib/graphics/shader.h
r9942 r10118 45 45 public: 46 46 Shader(); 47 Shader(const Shader& shader); 47 48 Shader(const std::string& vertexShaderFile, const std::string& fragmentShaderFile = ""); 48 49
Note: See TracChangeset
for help on using the changeset viewer.