Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_phyuv.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | e27bdcc80744 |
children |
comparison
equal
deleted
inserted
replaced
2697:c9121b04cffa | 2698:e1da92da346c |
---|---|
147 rtncode = | 147 rtncode = |
148 PgGetScalerCapabilities(overlay->hwdata->channel, i, | 148 PgGetScalerCapabilities(overlay->hwdata->channel, i, |
149 &overlay->hwdata->caps); | 149 &overlay->hwdata->caps); |
150 if (rtncode == 0) { | 150 if (rtncode == 0) { |
151 if (overlay->hwdata->caps.format == format) { | 151 if (overlay->hwdata->caps.format == format) { |
152 if ((overlay->hwdata->caps. | 152 if ((overlay->hwdata-> |
153 flags & Pg_SCALER_CAP_DST_CHROMA_KEY) == | 153 caps.flags & Pg_SCALER_CAP_DST_CHROMA_KEY) == |
154 Pg_SCALER_CAP_DST_CHROMA_KEY) { | 154 Pg_SCALER_CAP_DST_CHROMA_KEY) { |
155 overlay->hwdata->ischromakey = 1; | 155 overlay->hwdata->ischromakey = 1; |
156 } | 156 } |
157 vidport = 1; | 157 vidport = 1; |
158 break; | 158 break; |