]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/renderable.h
Remove RTLD_DEEPBIND, it is no longer required
[xonotic/netradiant.git] / include / renderable.h
index 8b972170ed7c723c786956a966e6f72cc21dffea..d50ca7a8f57c87e4616f4cd6e5c14b5335d53c23 100644 (file)
@@ -48,7 +48,7 @@ enum EStyle
 virtual void PushState() = 0;
 virtual void PopState() = 0;
 virtual void SetState( Shader* state, EStyle mode ) = 0;
-virtual const EStyle getStyle() const = 0;
+virtual EStyle getStyle() const = 0;
 virtual void Highlight( EHighlightMode mode, bool bEnable = true ) = 0;
 virtual void setLights( const LightList& lights ){
 }
@@ -60,6 +60,7 @@ class VolumeTest;
 class Renderable
 {
 public:
+virtual ~Renderable() = default;
 STRING_CONSTANT( Name, "Renderable" );
 
 virtual void renderSolid( Renderer& renderer, const VolumeTest& volume ) const = 0;