Skip to content
Snippets Groups Projects
Verified Commit a285604e authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#82] Removed debug prints

parent e7f8c46f
Branches
Tags
1 merge request!70Resolve "Voxel cone tracing"
Pipeline #26154 passed
...@@ -550,14 +550,6 @@ int main(int argc, const char** argv) { ...@@ -550,14 +550,6 @@ int main(int argc, const char** argv) {
if (!core.beginFrame(swapchainWidth, swapchainHeight)) { if (!core.beginFrame(swapchainWidth, swapchainHeight)) {
continue; continue;
} }
if ((swapchainWidth < 2) || (swapchainHeight < 2)) {
std::cerr << "A" << std::endl;
}
if ((windowWidth < 2) || (windowHeight < 2)) {
std::cerr << "B" << std::endl;
}
if ((swapchainWidth != windowWidth) || ((swapchainHeight != windowHeight))) { if ((swapchainWidth != windowWidth) || ((swapchainHeight != windowHeight))) {
depthBuffer = core.createImage(depthBufferFormat, swapchainWidth, swapchainHeight, 1, false, false, false, msaa).getHandle(); depthBuffer = core.createImage(depthBufferFormat, swapchainWidth, swapchainHeight, 1, false, false, false, msaa).getHandle();
...@@ -575,14 +567,6 @@ int main(int argc, const char** argv) { ...@@ -575,14 +567,6 @@ int main(int argc, const char** argv) {
bloomFlares.updateImageDimensions(windowWidth, windowHeight); bloomFlares.updateImageDimensions(windowWidth, windowHeight);
} }
if ((swapchainWidth < 2) || (swapchainHeight < 2)) {
std::cerr << "C" << std::endl;
}
if ((windowWidth < 2) || (windowHeight < 2)) {
std::cerr << "D" << std::endl;
}
auto end = std::chrono::system_clock::now(); auto end = std::chrono::system_clock::now();
auto deltatime = std::chrono::duration_cast<std::chrono::microseconds>(end - start); auto deltatime = std::chrono::duration_cast<std::chrono::microseconds>(end - start);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment