Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 95051 | Differences between
and this patch

Collapse All | Expand All

(-)src/SDL.xs~ (+9 lines)
Lines 71-76 Link Here
71
#include <SDL_gfxPrimitives.h>
71
#include <SDL_gfxPrimitives.h>
72
#include <SDL_framerate.h>
72
#include <SDL_framerate.h>
73
#include <SDL_imageFilter.h>
73
#include <SDL_imageFilter.h>
74
#define PERL_SDL_GFXVERSION SDL_VERSIONNUM(SDL_GFXPRIMITIVES_MAJOR,SDL_GFXPRIMITIVES_MINOR,SDL_GFXPRIMITIVES_MICRO)
74
#endif
75
#endif
75
76
76
#ifdef USE_THREADS
77
#ifdef USE_THREADS
Lines 3742-3748 Link Here
3742
    Sint16 end;
3743
    Sint16 end;
3743
    Uint32 color;
3744
    Uint32 color;
3744
CODE:
3745
CODE:
3746
#if PERL_SDL_GFXVERSION >= 2012
3747
     RETVAL = filledPieColor( dst, x, y, rad, start, end, color );
3748
#else
3745
     RETVAL = filledpieColor( dst, x, y, rad, start, end, color );
3749
     RETVAL = filledpieColor( dst, x, y, rad, start, end, color );
3750
#endif
3746
OUTPUT:
3751
OUTPUT:
3747
     RETVAL
3752
     RETVAL
3748
3753
Lines 3759-3765 Link Here
3759
    Uint8 b;
3764
    Uint8 b;
3760
    Uint8 a;
3765
    Uint8 a;
3761
CODE:
3766
CODE:
3767
#if PERL_SDL_GFXVERSION >= 2012
3768
     RETVAL = filledPieRGBA( dst, x, y, rad, start, end, r, g, b, a );
3769
#else
3762
     RETVAL = filledpieRGBA( dst, x, y, rad, start, end, r, g, b, a );
3770
     RETVAL = filledpieRGBA( dst, x, y, rad, start, end, r, g, b, a );
3771
#endif
3763
OUTPUT:
3772
OUTPUT:
3764
     RETVAL
3773
     RETVAL

Return to bug 95051