[tlbuild] still asy problems

Norbert Preining preining at logic.at
Mon Apr 1 09:54:17 CEST 2019


On Fri, 29 Mar 2019, Henri Menke wrote:
> https://tug.org/pipermail/tlbuild/2019q1/004436.html

Indeed, thanks. ATM only that part is necessary:
diff --git a/utils/asymptote/glrender.cc b/utils/asymptote/glrender.cc
index ab5f13836..54938dc94 100644
--- a/utils/asymptote/glrender.cc
+++ b/utils/asymptote/glrender.cc
@@ -1669,6 +1669,7 @@ void setUniforms(GLint shader)

   glUseProgram(shader);

+  using glm::value_ptr;
   glUniformMatrix4fv(glGetUniformLocation(shader,"projViewMat"),1,GL_FALSE, value_ptr(gl::projViewMat));
   glUniformMatrix4fv(glGetUniformLocation(shader,"viewMat"),1,GL_FALSE, value_ptr(gl::viewMat));
   glUniformMatrix4fv(glGetUniformLocation(shader,"normMat"),1,GL_FALSE, value_ptr(gl::normMat));


Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tlbuild mailing list