Skip to content

Commit

Permalink
OpenTK issue 2550 and 2298, disabling Aero in windows 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
andykorth committed Jan 24, 2013
1 parent d1713ff commit cf4f564
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/OpenTK/Graphics/GraphicsModeComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ public int Compare(GraphicsMode x, GraphicsMode y)
result = x.Buffers.CompareTo(y.Buffers);
if (result != 0)
return result;
return x.AccumulatorFormat.CompareTo(y.AccumulatorFormat);
result = x.AccumulatorFormat.CompareTo(y.AccumulatorFormat);
if (result != 0)
return result;
return ((int)(x.Index)).CompareTo((int)(y.Index));
}

#endregion
Expand Down

0 comments on commit cf4f564

Please sign in to comment.