Skip to content

Commit

Permalink
im just tired
Browse files Browse the repository at this point in the history
  • Loading branch information
101001000 committed Sep 4, 2023
1 parent b355ef6 commit f0cd6b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Managers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ RenderingManager::RenderInfo RenderingManager::get_render_info() {

LOG(debug) << "Getting render info";

RenderInfo render_info;

try {
float* dev_samples;
unsigned int sample_count = 0;
Expand All @@ -217,7 +219,7 @@ RenderingManager::RenderInfo RenderingManager::get_render_info() {

d_q.memcpy(&sample_count, dev_samples, 1 * sizeof(unsigned int));

RenderInfo render_info;

render_info.samples = sample_count;
}
catch (std::exception const& e) {
Expand Down

0 comments on commit f0cd6b8

Please sign in to comment.