[PyOpenGL-Users] glBitmap coredump
Brought to you by:
mcfletch
From: Joe C. <joe...@ho...> - 2003-08-11 23:42:45
|
Hi, I think I'm getting memory errors inside a call to glBitmap, I have generated an image as a string and am displaying it using glDrawpixels() but prior to that I am setting the rasterpos with glBitmap. When displaying the same image and not changing any arguments my program seems to randomly choose whether it's going to crash or not, the output below is me printing out the 'a' line before the glBitmap and the 'b' line afterwards. a - glBitmap(4096.000000, 576.000000, 0, 0, 0.000000, 0.000000, 0) b - glBitmap done a - glBitmap(4096.000000, 576.000000, 0, 0, 0.000000, 0.000000, 0) I know the image size is huge, but it's the only way I can make it happen predictably - I have used 600x600 sized images and my app crashes about 1 in 20 goes. I have tested it under windows and linux using a geforce4 level card and windows using a radeon 9700, they all do the same thing. I have also tried both 2.0.0.44 and 2.0.1.04 under windows and linux. If I comment out the glBitmap line the application runs with no problem so I dont think it's a problem with my code. Also I am not trying to do anything clever Has anyone come across this before or know what could be causing the problem? failing that can anyone hint towards a workaround? I don't want to texture a poly due to texture size limitations. Thanks in advance, if I should provide any more information please let me know. Joe _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp |