X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=sdlgit%2FSDL_perl.git;a=blobdiff_plain;f=src%2FSDL.xs;fp=src%2FSDL.xs;h=8e14ce2124fc2b9f3bccf7b9726cfcd7a4a5539e;hp=a84d7c0694b8c3513d94ca359c00ff4a7a1a3992;hb=d345ba03154eec37e50e43fda96ebb5ac24df2e9;hpb=56edfae7155aa08747e42ba26c3f745e7610e7b4 diff --git a/src/SDL.xs b/src/SDL.xs index a84d7c0..8e14ce2 100644 --- a/src/SDL.xs +++ b/src/SDL.xs @@ -110,16 +110,6 @@ extern PerlInterpreter *parent_perl; #endif -int -force_directx() -{ -#if defined WIN32 || WINDOWS - fprintf( stderr, "SDL Gamma is unsupported in Windows for windib. Forcing directx. \n" ); - SDL_putenv("SDL_VIDEODRIVER=directx"); -#endif - return 1; -} - Uint32 sdl_perl_timer_callback ( Uint32 interval, void* param ) { @@ -264,7 +254,6 @@ init ( flags ) Uint32 flags CODE: INIT_NS_APPLICATION - force_directx(); RETVAL = SDL_Init(flags); #ifdef HAVE_TLS_CONTEXT Perl_call_atexit(PERL_GET_CONTEXT, (void*)sdl_perl_atexit,0);