diff options
Diffstat (limited to 'gpu/pgl/pgl.cc')
-rw-r--r-- | gpu/pgl/pgl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/pgl/pgl.cc b/gpu/pgl/pgl.cc index 6f24a31..2fd3d8b 100644 --- a/gpu/pgl/pgl.cc +++ b/gpu/pgl/pgl.cc @@ -152,7 +152,7 @@ PGLBoolean pglDestroyContext(PGLContext pgl_context) { if (!pgl_context) return false; - delete pgl_context; + delete static_cast<PGLContextImpl*>(pgl_context); return true; } |