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/

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401030
This commit is contained in:
Ryan C. Gordon 2005-01-17 19:38:28 +00:00
parent 37382b468c
commit df4b061868

View file

@ -495,9 +495,8 @@ int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat)
HIDDEN->c2layer->SetOpacity(HIDDEN->c2layer, 0x0); HIDDEN->c2layer->SetOpacity(HIDDEN->c2layer, 0x0);
/* Init the surface here as it got a fixed size */ /* Init the surface here as it got a fixed size */
dlc.flags = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE | DLCONF_OPTIONS; dlc.flags = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE;
dlc.buffermode = DLBM_BACKVIDEO; dlc.buffermode = DLBM_BACKVIDEO;
dlc.options = DLOP_FLICKER_FILTERING;
dlc.pixelformat = DSPF_RGB32; dlc.pixelformat = DSPF_RGB32;
ret = HIDDEN->c2layer->TestConfiguration( HIDDEN->c2layer, &dlc, &failed ); ret = HIDDEN->c2layer->TestConfiguration( HIDDEN->c2layer, &dlc, &failed );