build on Irix

This commit is contained in:
David Rose 2005-07-13 19:33:07 +00:00
parent 00eb9b8bd2
commit 86ce5ebba1
4 changed files with 6 additions and 3 deletions

View File

@ -47,7 +47,7 @@ ClipPlaneInfo() {
////////////////////////////////////////////////////////////////////
INLINE void GraphicsStateGuardian::
release_all() {
return _prepared_objects->release_all();
_prepared_objects->release_all();
}
////////////////////////////////////////////////////////////////////

View File

@ -28,6 +28,7 @@
#include "eggGroup.h"
#include "eggMaterial.h"
#include "pt_EggMaterial.h"
#include "eggVertexPool.h"
#include "texture.h"
#include "pandaNode.h"
#include "pointerTo.h"

View File

@ -270,10 +270,11 @@ get_segment(const int seg_id) {
INLINE string ColorInterpolationManager::
get_segment_id_list(void) {
pvector<PT(ColorInterpolationSegment)>::iterator iter;
stringstream output;
ostringstream output;
for(iter = _i_segs.begin();iter != _i_segs.end();++iter)
output << (*iter)->get_id() << " ";
return output.str().substr(0,output.str().length()-1);
string str = output.str();
return str.substr(0, str.length()-1);
}

View File

@ -28,6 +28,7 @@
#include "nodePath.h"
#include "luse.h"
#include "pointerTo.h"
#include "audioSound.h"
#include "textNode.h"
#include "pmap.h"