EXCEPTION macro removed

fmt::throw_exception<> implemented
::narrow improved
Minor fixes
This commit is contained in:
Nekotekina 2016-08-08 19:01:06 +03:00
parent 46735d6b3d
commit a7e808b35b
198 changed files with 3025 additions and 2956 deletions

View file

@ -376,7 +376,7 @@ void VKFragmentProgram::Compile()
std::vector<u32> spir_v;
if (!vk::compile_glsl_to_spv(shader, vk::glsl::glsl_fragment_program, spir_v))
throw EXCEPTION("Failed to compile fragment shader");
fmt::throw_exception("Failed to compile fragment shader" HERE);
//Create the object and compile
VkShaderModuleCreateInfo fs_info;