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.
This commit is contained in:
Alexander Gavrilov
2016-08-20 13:48:29 +03:00
parent 0e5e53c651
commit 8e02b024c0

View File

@@ -115,7 +115,7 @@ static Transform g_transform;
struct OpenSubdiv_GLMeshFVarData
{
OpenSubdiv_GLMeshFVarData() :
texture_buffer(0) {
texture_buffer(0), offset_buffer(0) {
}
~OpenSubdiv_GLMeshFVarData()