X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2FCore%2FVideo.xs;h=a8a9a1ea586ecfb0611ea720afb3c4338db350e7;hb=65b2187d7fca182e8689d1af3ba44f5f946dcc35;hp=434f0a30c6e4edfbb7474ccf4ac2f8ad174cd75f;hpb=fadf167dc041a112b46d99127cda48cc91e05e96;p=sdlgit%2FSDL_perl.git diff --git a/src/Core/Video.xs b/src/Core/Video.xs index 434f0a3..a8a9a1e 100644 --- a/src/Core/Video.xs +++ b/src/Core/Video.xs @@ -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);