Fix mipmap generation bug
Fix crash due to dc_source2 not always being set Add r_lod_bias to control mipmap selection Improve LOD calculations to take the U texture coordinate into account
This commit is contained in:
parent
d4aed28260
commit
d084f77546
7 changed files with 50 additions and 25 deletions
|
|
@ -99,7 +99,7 @@ public:
|
|||
if (dc_shade_constants.simple_shade)
|
||||
args.flags |= DrawColumnArgs::simple_shade;
|
||||
if (args.source2 == nullptr)
|
||||
args.flags |= DrawWallArgs::nearest_filter;
|
||||
args.flags |= DrawColumnArgs::nearest_filter;
|
||||
|
||||
DetectRangeError(args.dest, args.dest_y, args.count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue