summaryrefslogtreecommitdiffstats
path: root/gpu/pgl/pgl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/pgl/pgl.cc')
-rw-r--r--gpu/pgl/pgl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/pgl/pgl.cc b/gpu/pgl/pgl.cc
index 320dfff..c403265 100644
--- a/gpu/pgl/pgl.cc
+++ b/gpu/pgl/pgl.cc
@@ -154,7 +154,7 @@ PGLBoolean pglDestroyContext(PGLContext pgl_context) {
if (!pgl_context)
return false;
- delete pgl_context;
+ delete static_cast<PGLContextImpl*>(pgl_context);
return true;
}