| # | Line 84 | Line 84 | unsigned short ONICALL DD_GLrEnumerateDi | |
|---|---|---|
| 84 | { | |
| 85 | if (dm.dmBitsPerPel < DD_MIN_DEPTH || dm.dmPelsWidth < 640 || dm.dmPelsHeight < 480) | |
| 86 | continue; | |
| 87 | + | if (dm.dmPelsWidth < dm.dmPelsHeight) |
| 88 | + | continue; |
| 89 | ||
| 90 | // Already exists? Search backwards as modes are sorted most of the times | |
| 91 | for (j = vmodes - 1; j >= 0; --j) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |