+++ /dev/null
-#include "arb_shader_objects.h"
-#include "uniform.h"
-
-namespace Msp {
-namespace GL {
-
-template<>
-void UniformScalar<int>::apply(int index) const
-{
- glUniform1iARB(index, value);
-}
-
-template<>
-void UniformScalar<float>::apply(int index) const
-{
- glUniform1fARB(index, value);
-}
-
-
-template<>
-void UniformVector<float, 2>::apply(int index) const
-{
- glUniform2fvARB(index, 1, value);
-}
-
-template<>
-void UniformVector<float, 3>::apply(int index) const
-{
- glUniform3fvARB(index, 1, value);
-}
-
-template<>
-void UniformVector<float, 4>::apply(int index) const
-{
- glUniform4fvARB(index, 1, value);
-}
-
-
-template<>
-void UniformMatrix<float, 4, 4>::apply(int index) const
-{
- glUniformMatrix4fvARB(index, 1, false, value);
-}
-
-} // namespace GL
-} // namespace Msp