-
-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Labels
info neededMore information is requiredMore information is required
Description
For some reason, when I simply try to create a UI using egui, I get this panic:
[2023-03-25T22:10:29Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error
Caused by:
In a RenderPass
note: encoder = `pixels_command_encoder`
In a set_scissor_rect command
Scissor Rect { x: 0, y: 0, w: 1024, h: 768 } is not contained in the render target Extent3d { width: 256, height: 192, depth_or_array_layers: 1 }
' (...)The examples work fine, but this doesn't, although I basically copied half of the code from the examples.
If I reduce the size of the window in the screen descriptor to 256x192 (As the error seems to want me to do), it works, but then only that part of the window is actually used, the rest is left over.
Metadata
Metadata
Assignees
Labels
info neededMore information is requiredMore information is required