mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-10 02:35:17 -04:00
Remove post-trim scissor (#684)
* Remove post-trim scissor Fixes #679 * Add comment
This commit is contained in:
@@ -1237,8 +1237,12 @@ static void trimming(view_class* param_0, view_port_class* param_1) {
|
||||
|
||||
GXEnd();
|
||||
}
|
||||
#ifndef TARGET_PC
|
||||
// due to rounding, the scaled scissor region doesn't align with the untrimmed area
|
||||
// this creates a gap when drawing the flipped image for mirror mode
|
||||
GXSetScissor(param_1->scissor.x_orig, param_1->scissor.y_orig, param_1->scissor.width,
|
||||
param_1->scissor.height);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !PLATFORM_WII && !TARGET_PC
|
||||
|
||||
Reference in New Issue
Block a user