1. EuSDL2 Updated
- Posted by Icy_Viking Jan 12, 2016
- 1759 views
Hello All,
I have updated the EuSDL2 library for the recent release of SDL 2.0.4. However there appears to be a slight problem with the functions SDL_BlitSurface(), and SDL_CreateRenderer(), other than that, the wrapper works fine. Any help solving these problems is highly appericated. I have linked the temp file below.
2. Re: EuSDL2 Updated
- Posted by jmduro Jan 14, 2016
- 1684 views
Maybe you could try the way you built the previous version: replace the third parameter of SDL_CreateRenderer(), an atom, by SDL_RENDERERFLAGS.
Jean-Marc
3. Re: EuSDL2 Updated
- Posted by Icy_Viking Jan 15, 2016
- 1617 views
Maybe you could try the way you built the previous version: replace the third parameter of SDL_CreateRenderer(), an atom, by SDL_RENDERERFLAGS.
Jean-Marc
Thank you for the tip Jean-Marc. Sadly that did not fix the issue. Even though I updated the code. I wonder if maybe the SDL DLL 2.0.4 may have a bug within the SDL_CreateRenderer function. I'll have to dig deeper into it. Any help is still appericated.
4. Re: EuSDL2 Updated
- Posted by jmduro Jan 16, 2016
- 1653 views
Some people had the same issues in mid-december so I wonder if 2.0.4 has been corrected between mid-december and last week. I think it is not bug-free.
http://stackoverflow.com/questions/34376771/segmentation-fault-when-using-sdl-createrenderer
They wanted to increase performance with this release. It is not only a release to correct bugs so they may have introduced bugs while correcting others. I don't use it.
Jean-Marc
5. Re: EuSDL2 Updated
- Posted by Icy_Viking Jan 16, 2016
- 1637 views
Some people had the same issues in mid-december so I wonder if 2.0.4 has been corrected between mid-december and last week. I think it is not bug-free.
http://stackoverflow.com/questions/34376771/segmentation-fault-when-using-sdl-createrenderer
They wanted to increase performance with this release. It is not only a release to correct bugs so they may have introduced bugs while correcting others. I don't use it.
Jean-Marc
It does indeed appear to be a bug. Hopefully a bug-fix release gets released. the EuSDL2 on my github is still using the old 2.0.3 SDL version, so that should still work if anyone wants to use my SDL2 wrapper. https://github.com/gAndy50/EuSDL2
I do plan on updating my other wrappers soon.