mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a/gl: Prevent depth surface being used as display source
This commit is contained in:
@@ -378,7 +378,7 @@ void pgraph_gl_sync(NV2AState *d)
|
||||
d->vga.get_params(&d->vga, &vga_display_params);
|
||||
|
||||
SurfaceBinding *surface = pgraph_gl_surface_get_within(d, d->pcrtc.start + vga_display_params.line_offset);
|
||||
if (surface == NULL) {
|
||||
if (surface == NULL || !surface->color) {
|
||||
qemu_event_set(&d->pgraph.sync_complete);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user