mirror of https://github.com/xemu-project/xemu.git
nv2a: Minimize clip origin for compatible surfaces
This commit is contained in:
parent
aaf8522431
commit
473179b9f4
|
@ -4664,7 +4664,9 @@ static bool pgraph_check_surface_compatibility(SurfaceBinding *s1,
|
|||
(s1->color == s2->color) &&
|
||||
(s1->fmt.gl_attachment == s2->fmt.gl_attachment) &&
|
||||
(s1->fmt.gl_internal_format == s2->fmt.gl_internal_format) &&
|
||||
(s1->pitch == s2->pitch);
|
||||
(s1->pitch == s2->pitch) &&
|
||||
(s1->shape.clip_x <= s2->shape.clip_x) &&
|
||||
(s1->shape.clip_y <= s2->shape.clip_y);
|
||||
if (!format_compatible) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue