This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.5a in repository iortcw.
commit 51422d8294ed7988d6a78c9d767212df593626cd Author: MAN-AT-ARMS <m4n4t4...@gmail.com> Date: Wed Oct 19 18:06:58 2016 -0400 All: Rend2: Workaround for multiple deforms on MD3 mesh --- MP/code/rend2/tr_surface.c | 6 ++++++ SP/code/rend2/tr_surface.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/MP/code/rend2/tr_surface.c b/MP/code/rend2/tr_surface.c index 19a1717..278b370 100644 --- a/MP/code/rend2/tr_surface.c +++ b/MP/code/rend2/tr_surface.c @@ -1325,6 +1325,12 @@ void RB_SurfaceVaoMdvMesh(srfVaoMdvMesh_t * surface) GLimp_LogComment("--- RB_SurfaceVaoMdvMesh ---\n"); + if (ShaderRequiresCPUDeforms(tess.shader)) + { + RB_SurfaceMesh(surface->mdvSurface); + return; + } + if(!surface->vao) return; diff --git a/SP/code/rend2/tr_surface.c b/SP/code/rend2/tr_surface.c index 1027a0a..f77ebf2 100644 --- a/SP/code/rend2/tr_surface.c +++ b/SP/code/rend2/tr_surface.c @@ -1323,6 +1323,12 @@ void RB_SurfaceVaoMdvMesh(srfVaoMdvMesh_t * surface) GLimp_LogComment("--- RB_SurfaceVaoMdvMesh ---\n"); + if (ShaderRequiresCPUDeforms(tess.shader)) + { + RB_SurfaceMesh(surface->mdvSurface); + return; + } + if(!surface->vao) return; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits