comparison src/video/directfb/SDL_DirectFB_video.c @ 1029:f87f87efd45a

Date: Mon, 17 Jan 2005 20:54:50 +0200 From: Ville [snip] Subject: [PATCH] SDL/DirectFB: remove Matrox CRTC2 flicker filter Hi, This patch removes the flicker filter option from the DirectFB backend's Matrox CRTC2 code in SDL. I will be removing the option from DirectFB (because it doesn't actually work) and that would cause the SDL code to fail without this fix. I was going to send this to some SDL list directly but libsdl.org is down so I'm not sure what if any lists there are. Thomas Jarosch (the guy who wrote the code) said you would accept SDL patches. Let me know if I should send this somewhere else. -- Ville Syrj�l� syrjala _at sci.fi http://www.sci.fi/~syrjala/
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 17 Jan 2005 19:38:28 +0000
parents 012af0b7e8e6
children 4fa705cdecb9
comparison
equal deleted inserted replaced
1028:5ba65305c954 1029:f87f87efd45a
493 } 493 }
494 494
495 HIDDEN->c2layer->SetOpacity(HIDDEN->c2layer, 0x0); 495 HIDDEN->c2layer->SetOpacity(HIDDEN->c2layer, 0x0);
496 496
497 /* Init the surface here as it got a fixed size */ 497 /* Init the surface here as it got a fixed size */
498 dlc.flags = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE | DLCONF_OPTIONS; 498 dlc.flags = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE;
499 dlc.buffermode = DLBM_BACKVIDEO; 499 dlc.buffermode = DLBM_BACKVIDEO;
500 dlc.options = DLOP_FLICKER_FILTERING;
501 dlc.pixelformat = DSPF_RGB32; 500 dlc.pixelformat = DSPF_RGB32;
502 501
503 ret = HIDDEN->c2layer->TestConfiguration( HIDDEN->c2layer, &dlc, &failed ); 502 ret = HIDDEN->c2layer->TestConfiguration( HIDDEN->c2layer, &dlc, &failed );
504 if (ret) 503 if (ret)
505 { 504 {