comparison tools/lib64gfx.c @ 2340:85cd3d36e670

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Sep 2019 12:44:44 +0300
parents 2b22a7719a58
children a56f3bcb5476
comparison
equal deleted inserted replaced
2339:2b22a7719a58 2340:85cd3d36e670
1328 err: 1328 err:
1329 return res; 1329 return res;
1330 } 1330 }
1331 1331
1332 1332
1333 static int fmtGetGenericSCPixel(Uint8 *col, const DMC64Image *img, 1333 static int fmtGetGenericSCPixel(Uint8 *col,
1334 const int rasterX, const int rasterY) 1334 const DMC64Image *img, const int rasterX, const int rasterY)
1335 { 1335 {
1336 DM_C64_GENERIC_SC_PIXEL_DEFS(img) 1336 DM_C64_GENERIC_SC_PIXEL_DEFS(img)
1337 1337
1338 return dmC64GetGenericSCPixel( 1338 return dmC64GetGenericSCPixel(
1339 col, img, 1339 col, img,
1340 bmoffs, scroffs, 1340 bmoffs, scroffs,
1341 vshift, 0, 0); 1341 vshift, 0, 0);
1342 } 1342 }
1343 1343
1344 1344
1345 static int fmtGetGenericMCPixel(Uint8 *col, const DMC64Image *img, 1345 static int fmtGetGenericMCPixel(Uint8 *col,
1346 const int rasterX, const int rasterY) 1346 const DMC64Image *img, const int rasterX, const int rasterY)
1347 { 1347 {
1348 DM_C64_GENERIC_MC_PIXEL_DEFS(img) 1348 DM_C64_GENERIC_MC_PIXEL_DEFS(img)
1349 1349
1350 return dmC64GetGenericMCPixel( 1350 return dmC64GetGenericMCPixel(
1351 col, img, 1351 col, img,