Fixed Coverity issue.

CID 11666: Uninitialized pointer field (UNINIT_CTOR)
Non-static class member _glMultiTexCoord1dv is not initialized in this constructor nor in any functions that it calls.
Non-static class member _glVertexAttrib1dv is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Robert Osfield 2011-05-24 10:14:03 +00:00
parent fa11d7b6fa
commit 8b06c30691

View File

@ -749,7 +749,6 @@ class OSG_EXPORT Drawable : public Object
VertexAttribfvProc _glVertexAttrib2fv; VertexAttribfvProc _glVertexAttrib2fv;
VertexAttribfvProc _glVertexAttrib3fv; VertexAttribfvProc _glVertexAttrib3fv;
VertexAttribfvProc _glVertexAttrib4fv; VertexAttribfvProc _glVertexAttrib4fv;
VertexAttribdvProc _glVertexAttrib1dv;
VertexAttribdvProc _glVertexAttrib2dv; VertexAttribdvProc _glVertexAttrib2dv;
VertexAttribdvProc _glVertexAttrib3dv; VertexAttribdvProc _glVertexAttrib3dv;
VertexAttribdvProc _glVertexAttrib4dv; VertexAttribdvProc _glVertexAttrib4dv;
@ -762,7 +761,6 @@ class OSG_EXPORT Drawable : public Object
MultiTexCoordfvProc _glMultiTexCoord3fv; MultiTexCoordfvProc _glMultiTexCoord3fv;
MultiTexCoordfvProc _glMultiTexCoord4fv; MultiTexCoordfvProc _glMultiTexCoord4fv;
MultiTexCoord1dProc _glMultiTexCoord1d; MultiTexCoord1dProc _glMultiTexCoord1d;
MultiTexCoorddvProc _glMultiTexCoord1dv;
MultiTexCoorddvProc _glMultiTexCoord2dv; MultiTexCoorddvProc _glMultiTexCoord2dv;
MultiTexCoorddvProc _glMultiTexCoord3dv; MultiTexCoorddvProc _glMultiTexCoord3dv;
MultiTexCoorddvProc _glMultiTexCoord4dv; MultiTexCoorddvProc _glMultiTexCoord4dv;