User friendly error message

This commit is contained in:
Laurent Clouet
2016-08-29 20:07:38 +02:00
parent 8a17cddfde
commit 551cecc12f

View File

@@ -153,6 +153,8 @@ public class Error {
return "Renderer has crashed. It's usually due to a bad project or not enough memory. There is nothing you can do about it. Will try another project in a few minutes."; return "Renderer has crashed. It's usually due to a bad project or not enough memory. There is nothing you can do about it. Will try another project in a few minutes.";
case RENDERER_OUT_OF_VIDEO_MEMORY: case RENDERER_OUT_OF_VIDEO_MEMORY:
return "Renderer has crashed, due to not enough video memory (vram). There is nothing you can do about it. Will try another project in a few minutes."; return "Renderer has crashed, due to not enough video memory (vram). There is nothing you can do about it. Will try another project in a few minutes.";
case RENDERER_OUT_OF_MEMORY:
return "No more memory available. There is nothing you can do about it. Will try another project in a few minutes.";
case GPU_NOT_SUPPORTED: case GPU_NOT_SUPPORTED:
return "Rendering have failed due to a GPU not supported (please check the CUDA version)"; return "Rendering have failed due to a GPU not supported (please check the CUDA version)";
case RENDERER_MISSING_LIBRARIES: case RENDERER_MISSING_LIBRARIES: