Skip to content

Commit

Permalink
addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
venkat0907 committed Jul 19, 2023
1 parent 7def307 commit 0cbecdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/src/EglRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class EglRenderer::Detail
}else{
x_offset += (displayWidth-_width)/2;
y_offset += (displayHeight-_height)/2;
renderer = NvEglRenderer::createEglRenderer(__TIMESTAMP__, _width, _height, x_offset, y_offset, _displayOnTop);
renderer = NvEglRenderer::createEglRenderer(__TIMESTAMP__, _width, _height, x_offset, y_offset, displayOnTop);
}
if (!renderer)
{
Expand Down
2 changes: 2 additions & 0 deletions base/test/eglrenderer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ BOOST_AUTO_TEST_CASE(open_close_window, *boost::unit_test::disabled())

boost::this_thread::sleep_for(boost::chrono::seconds(5));
sink->closeWindow();

boost::this_thread::sleep_for(boost::chrono::seconds(10));
sink->createWindow(200,200);

boost::this_thread::sleep_for(boost::chrono::seconds(120));
Expand Down

0 comments on commit 0cbecdd

Please sign in to comment.