Fixed warnings
This commit is contained in:
@@ -58,11 +58,11 @@ class OSG_EXPORT Texture2DMultisample : public Texture
|
||||
inline void setNumSamples( int samples ) { _numSamples = samples; }
|
||||
|
||||
// unnecessary for Texture2DMultisample
|
||||
virtual void setImage(unsigned int face, Image* image){}
|
||||
virtual Image* getImage(unsigned int face){return NULL;}
|
||||
virtual const Image* getImage(unsigned int face) const{return NULL;}
|
||||
virtual unsigned int getNumImages() const{return 0;}
|
||||
virtual void allocateMipmap(State& state) const {}
|
||||
virtual void setImage(unsigned int /*face*/, Image* /*image*/) {}
|
||||
virtual Image* getImage(unsigned int /*face*/) { return NULL; }
|
||||
virtual const Image* getImage(unsigned int /*face*/) const { return NULL; }
|
||||
virtual unsigned int getNumImages() const {return 0; }
|
||||
virtual void allocateMipmap(State& /*state*/) const {}
|
||||
|
||||
void setTextureWidth(int width) { _textureWidth=width; }
|
||||
void setTextureHeight(int height) { _textureHeight=height; }
|
||||
|
||||
Reference in New Issue
Block a user