diff options
author | Wade Walker <[email protected]> | 2011-01-25 09:45:09 -0600 |
---|---|---|
committer | Wade Walker <[email protected]> | 2011-01-25 09:53:36 -0600 |
commit | dae2f33848a60003096681ae18e719aee9936112 (patch) | |
tree | b3c53776c9004c532f36492cba4b20fb60b8674c /src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java | |
parent | 64a500413de7b3d1ddcece1256d1f28601d6ec0d (diff) |
Fix bug 463 where gluScaleImage consumes all memory
Changes the Type_Widget.java constructor to allocate a normal
buffer instead of a direct buffer. Apparently JVMs can't
allocate small direct buffers efficiently, and since Type_Widget
is called inside tight loops millions of times, we can't afford
to do it this way. This commit restores it to how it was in JOGL 1.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java')
0 files changed, 0 insertions, 0 deletions