FSAA - Explicit typecast for sim-clang build

error: type 'float' cannot be narrowed to 'rw::int32'
This commit is contained in:
Josh Pearson
2025-03-04 11:09:45 -07:00
parent 1fcf0a2338
commit dac22aedf0

View File

@@ -134,7 +134,7 @@ CMBlur::MotionBlurOpen(RwCamera *cam)
return TRUE;
#else
RwRect rect = { 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT };
RwRect rect = { 0, 0, (rw::int32)SCREEN_WIDTH, (rw::int32)SCREEN_HEIGHT };
CreateImmediateModeData(cam, &rect);
return TRUE;
#endif