Skip to content

Commit

Permalink
1.0.40
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Aug 20, 2021
1 parent 3a57ee6 commit 2dc8a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(RTX-2090-TiFy VERSION 1.0.38)
project(RTX-2090-TiFy VERSION 1.0.40)
set(APP_VERSION "${CMAKE_PROJECT_VERSION}")
configure_file(config/AppProps.h.in ${CMAKE_CURRENT_BINARY_DIR}/gen/AppProps.h)

Expand Down
10 changes: 2 additions & 8 deletions src/RTX2090Ti.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,8 @@ void RTX2090Ti::renderPixel(int c, int r, std::pair<int, int> &Start, std::pair<
cv::Mat toRender;
cv::resize(BaseImage, toRender, cv::Size(normalizedPic.cols, normalizedPic.rows));

try
{
toRender.copyTo(RenderOn(renderRange));
}
catch (...)
{
std::cout << renderOnPos << " " << renderEnd << "\n";
}
safeCopyTo(toRender, RenderOn, renderRange);

return;
}

Expand Down

0 comments on commit 2dc8a19

Please sign in to comment.