iOS/buildlibs/armv7/allegro-4.4.2/addons/allegrogl/src/win.c
/* 
   Returns TRUE is dm doesn't match any mode in mode_list, FALSE otherwise.
*/
Returns TRUE is dm doesn't match any mode in mode_list, FALSE otherwise.
Returns TRUE is dm doesn ' t match any mode in mode_list FALSE otherwise .
static int is_mode_entry_unique(GFX_MODE_LIST *mode_list, DEVMODE *dm) {
	int i;
	for (i = 0; i < mode_list->num_modes; ++i) {
		if (mode_list->mode[i].width == (int)dm->dmPelsWidth
			&& mode_list->mode[i].height == (int)dm->dmPelsHeight
			&& mode_list->mode[i].bpp == (int)dm->dmBitsPerPel)
			return FALSE;
	}
	return TRUE;
}
static int is_mode_entry_unique ( GFX_MODE_LIST * mode_list , DEVMODE * dm ) { int i ; for ( i = 0 ; i < mode_list -> num_modes ; ++ i ) { if ( mode_list -> mode [ i ] . width == ( int ) dm -> dmPelsWidth && mode_list -> mode [ i ] . height == ( int ) dm -> dmPelsHeight && mode_list -> mode [ i ] . bpp == ( int ) dm -> dmBitsPerPel ) return FALSE ; } return TRUE ; }
Returns TRUE is dm doesn't match any mode in mode_list, FALSE otherwise.
Returns TRUE is dm doesn ' t match any mode in mode_list FALSE otherwise .