Skip to content
Snippets Groups Projects
Commit 8dc6c9b4 authored by Martin Bellgardt's avatar Martin Bellgardt
Browse files

Fix compilation

parent c8598608
No related branches found
No related tags found
1 merge request!150Add implementation for default fuchsia image
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include "catch/catch.hpp" #include "catch/catch.hpp"
#include "phx/core/logger.hpp"
#include "phx/rendering/backend/opengl_image_buffer_data.hpp" #include "phx/rendering/backend/opengl_image_buffer_data.hpp"
#include "phx/resources/resource_manager.hpp" #include "phx/resources/resource_manager.hpp"
#include "phx/resources/types/image.hpp" #include "phx/resources/types/image.hpp"
...@@ -224,9 +225,9 @@ void OpenGLBufferComparison::REQUIRE_REFERENCE_IMAGE_SIMILARITY( ...@@ -224,9 +225,9 @@ void OpenGLBufferComparison::REQUIRE_REFERENCE_IMAGE_SIMILARITY(
try { try {
image.Load(); image.Load();
} catch (const std::exception&) { } catch (const std::exception&) {
error( phx::error(
"Unexpected exception while loading the reference image. File exists " "Unexpected exception while loading the reference image. File exists "
"but may be corrupted.") "but may be corrupted.");
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment