[pyglet] push by useboxnet - source is a uint on 2014-05-26 16:14 GMT

1 view
Skip to first unread message

pyg...@googlecode.com

unread,
May 26, 2014, 12:14:22 PM5/26/14
to pyglet-...@googlegroups.com
Revision: 4f56e8f596d8
Branch: default
Author: Juan J. Martínez <j...@usebox.net>
Date: Mon May 26 16:13:26 2014 UTC
Log: source is a uint
http://code.google.com/p/pyglet/source/detail?r=4f56e8f596d8

Modified:
/pyglet/media/drivers/openal/__init__.py

=======================================
--- /pyglet/media/drivers/openal/__init__.py Mon May 26 09:08:10 2014 UTC
+++ /pyglet/media/drivers/openal/__init__.py Mon May 26 16:13:26 2014 UTC
@@ -217,7 +217,7 @@
"""Delete all sources and free all buffers"""
assert context._lock.locked()
for source, buffers in self._sources.items():
- al.alDeleteSources(1, ctypes.byref(ctypes.c_ulong(source)))
+ al.alDeleteSources(1, ctypes.byref(ctypes.c_uint(source)))
for b in buffers:
if not al.alIsBuffer(b):
# Protect against implementations that DO free buffers
Reply all
Reply to author
Forward
0 new messages