Updated call sites to ensure that KRPipeline::setUniform calls are made before KRPipeline::bind calls.
Eliminated kraken::SetUniform helper functions, which are no longer used.
This commit is contained in:
@@ -61,11 +61,6 @@ float const PI = 3.141592653589793f;
|
||||
float const D2R = PI * 2 / 360;
|
||||
|
||||
namespace kraken {
|
||||
void SetUniform(GLint location, const Vector2 &v);
|
||||
void SetUniform(GLint location, const Vector3 &v);
|
||||
void SetUniform(GLint location, const Vector4 &v);
|
||||
void SetUniform(GLint location, const Matrix4 &v);
|
||||
|
||||
void setXMLAttribute(const std::string &base_name, ::tinyxml2::XMLElement *e, const Vector3 &value, const Vector3 &default_value);
|
||||
const Vector3 getXMLAttribute(const std::string &base_name, ::tinyxml2::XMLElement *e, const Vector3 &default_value);
|
||||
} // namespace kraken
|
||||
|
||||
Reference in New Issue
Block a user