|
 |
Le 13/06/2013 08:36, LanuHum a écrit :
> Hi,
>
> I don't speak English!
>
> Povray in Linux: segmentation fault, if start Povray in Blender or Eclipse, if
> enable window.
> Our people found a problem, but don't speak English too.
> In 3.7.0.RC7 file unix/disp_sdl.cpp
> line 235 SDL_Rect **modes = SDL_ListModes(NULL, SDL_FULLSCREEN);
>
> the call of the SDL_ListModes function returns -1 when povray is started from a
> blender
> it is necessary to make check on -1
> as SDL_ListModes can return -1
> http://sdl.beuc.net/sdl.wiki/SDL_ListModes
>
> Correct, please!
>
I would confirm (from another source):
http://www.libsdl.org/docs/html/sdllistmodes.html
Now, what a shitty specification of return: nullptr, -1 or valid pointer.
On architecture without alignment constraint, that removes two addresses
from the usable range.
--
Just because nobody complains does not mean all parachutes are perfect.
Post a reply to this message
|
 |