Trying workaround for directx forcing
[sdlgit/SDL_perl.git] / src / Core / Video.xs
index 434f0a3..a8a9a1e 100644 (file)
@@ -225,10 +225,6 @@ video_set_gamma(r, g, b)
        float g;
        float b;
        CODE:
-#ifdef WIN32 || __WIN32__ || WINDOWS 
-               warn( "SDL_SetGamma is unsupported in Windows for windib. Forcing directx ");
-               SDL_putenv("SDL_VIDEODRIVER=directx");
-#endif
                RETVAL = SDL_SetGamma(r,g,b);
        OUTPUT: 
                RETVAL
@@ -240,10 +236,6 @@ video_set_gamma_ramp( rt, gt, bt )
        AV* gt;
        AV* bt;
        CODE:
-#ifdef WIN32 || __WIN32__ || WINDOWS 
-               warn( "SDL_SetGammaRamp is unsupported in Windows for windib. Forcing directx " );
-               SDL_putenv("SDL_VIDEODRIVER=directx"); 
-#endif
                Uint16 *redtable, *greentable, *bluetable;
                redtable = av_to_uint16(rt);
                greentable = av_to_uint16(gt);