mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
glu/sgi: Initialize members of class sampledLine.
This commit is contained in:
parent
495b8f8f7a
commit
5060fb428d
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ sampledLine::sampledLine(Real pt1[2], Real pt2[2])
|
|||
//needs tp call init to setup
|
||||
sampledLine::sampledLine()
|
||||
{
|
||||
npoints = 0;
|
||||
points = NULL;
|
||||
next = NULL;
|
||||
}
|
||||
|
||||
//warning: ONLY pointer is copies!!!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue