diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2016-08-20 13:48:29 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2016-08-20 13:48:29 +0300 |
commit | 8e02b024c02db4580bc04c143a31dc3dff869385 (patch) | |
tree | 30da69bdad5800d7e87d26aa0d9d4ee3c66b37d4 /intern/opensubdiv | |
parent | 0e5e53c651effb6d33871f4a386c1b17c98aa9a1 (diff) |
Fix OpenSubdiv driver crash due to recently added uninitialized field.
For some reason my NVidia linux driver crashes in
glDeleteTextures when the ID is total garbage.
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/opensubdiv_gpu_capi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/opensubdiv_gpu_capi.cc b/intern/opensubdiv/opensubdiv_gpu_capi.cc index 0cf6fcfef43..05bd3728f93 100644 --- a/intern/opensubdiv/opensubdiv_gpu_capi.cc +++ b/intern/opensubdiv/opensubdiv_gpu_capi.cc @@ -115,7 +115,7 @@ static Transform g_transform; struct OpenSubdiv_GLMeshFVarData { OpenSubdiv_GLMeshFVarData() : - texture_buffer(0) { + texture_buffer(0), offset_buffer(0) { } ~OpenSubdiv_GLMeshFVarData() |