From Sebastian Messerschmidt, "Attached you find a change adding a getNumSamples() function to retrieve the value set via setNumSamples."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14515 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
b9a529148a
commit
c71016bd3c
@ -59,6 +59,7 @@ class OSG_EXPORT Texture2DMultisample : public Texture
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void setNumSamples( int samples ) { _numSamples = samples; }
|
inline void setNumSamples( int samples ) { _numSamples = samples; }
|
||||||
|
GLsizei getNumSamples() const { return _numSamples; }
|
||||||
|
|
||||||
// unnecessary for Texture2DMultisample
|
// unnecessary for Texture2DMultisample
|
||||||
virtual void setImage(unsigned int /*face*/, Image* /*image*/) {}
|
virtual void setImage(unsigned int /*face*/, Image* /*image*/) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user