mirror of
https://github.com/zeldaret/tp
synced 2026-06-26 10:21:58 -04:00
Replace magic constants derived from framebuffer size (#3144)
This commit is contained in:
+2
-2
@@ -10971,9 +10971,9 @@ void dKy_depth_dist_set(void* process_p) {
|
||||
|
||||
if ((sp30.x >= 0.0f && sp30.x < FB_WIDTH) && (sp30.y >= 0.0f &&
|
||||
#if DEBUG
|
||||
sp30.y < 608.0f
|
||||
sp30.y < FB_WIDTH_BASE
|
||||
#else
|
||||
sp30.y < 600.0f
|
||||
sp30.y < (FB_WIDTH_BASE - 8)
|
||||
#endif
|
||||
)) {
|
||||
cXyz sp18;
|
||||
|
||||
Reference in New Issue
Block a user