OpenGL2: Workaround for multiple deforms on MD3 mesh.

https://github.com/ioquake/ioq3/issues/122
This commit is contained in:
SmileTheory committed 2016-10-11 04:18:41 -07:00
1 parent aa79738c50
commit ad819edcc4
1 file changed
+6
+6
View File
@@ -1291,6 +1291,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;