SDL_CreateTexture seg fault when low video RAM |
MrTAToad
|
Sure you are checking the return value isn't/is NULL?
|
|||||||||||
|
AntTheAlchemist
|
There is no return value, since it doesn't return, it causes a seg fault, crashing the whole system.
|
|||||||||||
|
MrTAToad
|
The only thing I can think is happening (as there are failure checks) is that an infinite loop is happening if a supported format is not found
|
|||||||||||
|
SDL_CreateTexture seg fault when low video RAM |
Raymond Jennings
Guest
|
Wouldn't an infinite loop cause a hang and not a crash?
Nitpicking, sure, but it does make me curious. On Sat, Sep 12, 2015 at 5:02 AM, MrTAToad wrote:
|
|||||||||||||
|
SDL_CreateTexture seg fault when low video RAM |
j_post
Guest
|
If the infinite loop is eating stack space it will crash *real* quickly.
On Saturday 19 September 2015 06:54:43 Raymond Jennings wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|