diff --git a/polymer/build/src/startgtk.editor.c b/polymer/build/src/startgtk.editor.c index d947b88c6..c69656aad 100755 --- a/polymer/build/src/startgtk.editor.c +++ b/polymer/build/src/startgtk.editor.c @@ -123,7 +123,7 @@ static void PopulateForm(void) } // only 8-bit modes get used for 2D - if (validmode[i].bpp != 8) continue; + if (validmode[i].bpp != 8 || validmode[i].xdim < 640 || validmode[i].ydim < 480) continue; Bsprintf(buf, "%d x %d", validmode[i].xdim, validmode[i].ydim); gtk_list_store_append(modes2d, &iter); gtk_list_store_set(modes2d, &iter, 0,buf, 1,i, -1); diff --git a/polymer/build/src/startwin.editor.c b/polymer/build/src/startwin.editor.c index 4db284e75..e5610489a 100755 --- a/polymer/build/src/startwin.editor.c +++ b/polymer/build/src/startwin.editor.c @@ -73,7 +73,7 @@ static void PopulateForm(void) if (i == mode3d) ComboBox_SetCurSel(hwnd3d, j); // only 8-bit modes get used for 2D - if (validmode[i].bpp != 8) continue; + if (validmode[i].bpp != 8 || validmode[i].xdim < 640 || validmode[i].ydim < 480) continue; Bsprintf(buf, "%d x %d", validmode[i].xdim, validmode[i].ydim); j = ComboBox_AddString(hwnd2d, buf); ComboBox_SetItemData(hwnd2d, j, i);