# HG changeset patch # User Nomad # Date 1369128275 -7200 # Node ID fbde7d8fcdb16453a9f82116cce85d4306c1b4a6 # Parent 5aba2a5047c4d390cf62917b02cb70956ce0e9d7# Parent 6afa77761a0004d5debe6bcb86af9367d2fc9231 Merge diff -r 6afa77761a00 -r fbde7d8fcdb1 Viewport.cpp --- a/Viewport.cpp Tue May 21 12:43:08 2013 +0600 +++ b/Viewport.cpp Tue May 21 11:24:35 2013 +0200 @@ -19,6 +19,7 @@ br_x = sBR_X; if ( sTL_X > sBR_X ) { + __debugbreak(); // check this code br_x = sBR_X ^ sTL_X ^ sBR_X; // swap x's tl_x = br_x ^ sBR_X ^ sTL_X; } @@ -26,6 +27,7 @@ br_y = sBR_Y; if ( sTL_Y > sBR_Y ) { + __debugbreak(); // check this code br_y = sBR_Y ^ sTL_Y ^ sBR_Y; // swap y's tl_y = br_y ^ sBR_Y ^ sTL_Y; }