Fixed incorrecting sizing of background tex coords

This commit is contained in:
Robert Osfield
2004-04-16 22:07:30 +00:00
parent 884099b11c
commit baa67fe180

View File

@@ -584,7 +584,7 @@ osg::Node* createBackground()
osg::Vec2(1,1)
};
int numTexCoords = sizeof(myCoords)/sizeof(osg::Vec2);
int numTexCoords = sizeof(myTexCoords)/sizeof(osg::Vec2);
// pass the created tex coord array to the points geometry object,
// and use it to set texture unit 0.