Improve clarity of WindowTextureNode and WindowSwapchainNode error messages (#1355)

Improve clarity of WindowTextureNode and WindowSwapchainNode error messages
This commit is contained in:
Renato Caldas 2021-01-30 20:47:27 +00:00 committed by GitHub
parent 61c9a40fde
commit 8e0e4223e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ impl Node for WindowSwapChainNode {
let window = windows
.get(self.window_id)
.expect("Received window resized event for non-existent window.");
.expect("Window swapchain node refers to a non-existent window.");
let render_resource_context = render_context.resources_mut();

View File

@ -52,7 +52,7 @@ impl Node for WindowTextureNode {
let window = windows
.get(self.window_id)
.expect("Received window resized event for non-existent window.");
.expect("Window texture node refers to a non-existent window.");
if self
.window_created_event_reader