summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicky <none@none>2012-09-26 20:02:32 +0200
committerNicky <none@none>2012-09-26 20:02:32 +0200
commitbc34217979c0a692b17de7ffcb524ed2418da967 (patch)
tree7f61ba240dce1c45c6b2bd80d55dbbbd0f7d9675
parent1b0ea26ecb82b432efd19b319116f94ce58e2b48 (diff)
Add virtual destructor to LLGLFence.
-rw-r--r--indra/llrender/llgl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h
index 964495a3ab..d70e764769 100644
--- a/indra/llrender/llgl.h
+++ b/indra/llrender/llgl.h
@@ -424,6 +424,10 @@ const U32 FENCE_WAIT_TIME_NANOSECONDS = 1000; //1 ms
class LLGLFence
{
public:
+ virtual ~LLGLFence()
+ {
+ }
+
virtual void placeFence() = 0;
virtual bool isCompleted() = 0;
virtual void wait() = 0;