ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_GL.c
(Generate patch)

Comparing Daodan/src/Daodan_GL.c (file contents):
Revision 838 by alloc, Mon Apr 29 16:29:16 2013 UTC vs.
Revision 893 by alloc, Fri Jul 26 10:42:31 2013 UTC

# 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)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)