Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_image 1.2.12 redraw issues #2

Open
andydvsn opened this issue Mar 16, 2020 · 1 comment
Open

SDL_image 1.2.12 redraw issues #2

andydvsn opened this issue Mar 16, 2020 · 1 comment
Assignees
Labels
meh This might be worked on if anyone can be bothered

Comments

@andydvsn
Copy link
Member

SDL_image 1.2.12 caused major redraw errors where bitmaps were not displayed and text was redrawn over old text. Need to work out where that bug crept in if a later revision of SDL_image becomes required.

@andydvsn
Copy link
Member Author

Earlier versions past 1.2.7 also do not compile, failing like this:

In file included from /usr/include/libpng16/pngconf.h:50:0,
                 from /usr/include/libpng16/png.h:366,
                 from IMG_png.c:70:
IMG_png.c: In function 'IMG_LoadPNG_RW':
IMG_png.c:348:21: error: dereferencing pointer to incomplete type 'png_struct {aka struct png_struct_def}'
  if ( setjmp(png_ptr->jmpbuf) ) {
                     ^
IMG_png.c:417:21: error: dereferencing pointer to incomplete type 'png_info {aka struct png_info_def}'
    Amask = (info_ptr->channels == 4) ? 0xFF000000 : 0;
                     ^~
Makefile:438: recipe for target 'IMG_png.lo' failed
make[1]: *** [IMG_png.lo] Error 1
make[1]: Leaving directory '/home/andy/Development/squeezeplay/src/SDL_image-1.2.8'
Makefile.linux:114: recipe for target 'sdl-image' failed
make: *** [sdl-image] Error 2

andydvsn added a commit that referenced this issue Mar 19, 2020
Only a small bugfix increment here due to compilation errors (or redraw problems) on later versions. See issue #2
@andydvsn andydvsn self-assigned this Apr 3, 2020
@andydvsn andydvsn added the meh This might be worked on if anyone can be bothered label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meh This might be worked on if anyone can be bothered
Projects
None yet
Development

No branches or pull requests

1 participant