Fixed Coverity issue.
CID 11668: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
parent
3357cc0717
commit
65d2ddd325
@ -24,7 +24,8 @@ GLBeginEndAdapter::GLBeginEndAdapter(State* state):
|
||||
_normalAssigned(false),
|
||||
_normal(0.0f,0.0f,1.0f),
|
||||
_colorAssigned(false),
|
||||
_color(1.0f,1.0f,1.0f,1.0f)
|
||||
_color(1.0f,1.0f,1.0f,1.0f),
|
||||
_primitiveMode(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user