[Bf-blender-cvs] [8e02b02] master: Fix OpenSubdiv driver crash due to recently added uninitialized field.
Alexander Gavrilov
noreply at git.blender.org
Sat Aug 20 12:48:39 CEST 2016
Commit: 8e02b024c02db4580bc04c143a31dc3dff869385
Author: Alexander Gavrilov
Date: Sat Aug 20 13:48:29 2016 +0300
Branches: master
https://developer.blender.org/rB8e02b024c02db4580bc04c143a31dc3dff869385
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.
===================================================================
M intern/opensubdiv/opensubdiv_gpu_capi.cc
===================================================================
diff --git a/intern/opensubdiv/opensubdiv_gpu_capi.cc b/intern/opensubdiv/opensubdiv_gpu_capi.cc
index 0cf6fcf..05bd372 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()
More information about the Bf-blender-cvs
mailing list