summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-30 20:24:03 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-30 20:24:03 -0400
commit1de647b9d38528b640f8da473d50c04ef0674c58 (patch)
treec2b4ae1234a4d20142ab70b6e27030082b10b13d /libdimension-python
parent72daebf48e4a27de9f6633b2693ab96fb4ef1e44 (diff)
downloaddimension-1de647b9d38528b640f8da473d50c04ef0674c58.tar.xz
scene: Get rid of dmnsn_delete_scene().
Diffstat (limited to 'libdimension-python')
-rw-r--r--libdimension-python/dimension.pxd1
-rw-r--r--libdimension-python/dimension.pyx3
2 files changed, 0 insertions, 4 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd
index 4303871..36785ee 100644
--- a/libdimension-python/dimension.pxd
+++ b/libdimension-python/dimension.pxd
@@ -409,7 +409,6 @@ cdef extern from "../libdimension/dimension.h":
dmnsn_timer render_timer
dmnsn_scene *dmnsn_new_scene(dmnsn_pool *pool)
- void dmnsn_delete_scene(dmnsn_scene *scene)
void dmnsn_ray_trace(dmnsn_scene *scene)
dmnsn_future *dmnsn_ray_trace_async(dmnsn_scene *scene)
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index 5e02aff..846772a 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -1625,9 +1625,6 @@ cdef class Scene:
dmnsn_texture_cascade(default._texture, &self._scene.default_texture)
return _Future(dmnsn_ray_trace_async(self._scene))
- def __dealloc__(self):
- dmnsn_delete_scene(self._scene)
-
def _quality_to_string(int quality):
cdef str s = ""