projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
additional patchgui height icons, perspective test for zero area, es.po update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
bctexture.C
diff --git
a/cinelerra-5.1/guicast/bctexture.C
b/cinelerra-5.1/guicast/bctexture.C
index 52787e1a527fb45e546c1b98213fac8a149d47ce..e3eda5fa407fe4de9e5d8c2d26742fad9cb95872 100644
(file)
--- a/
cinelerra-5.1/guicast/bctexture.C
+++ b/
cinelerra-5.1/guicast/bctexture.C
@@
-249,7
+249,7
@@
void BC_Texture::write_tex(const char *fn, int id)
uint8_t *img = new uint8_t[w*h*3];
glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_UNSIGNED_BYTE, img);
write_ppm(img, w, h, "%s", fn);
- delete img;
+ delete
[]
img;
glActiveTexture(prev_id);
#endif
}