Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
coco875 committed Dec 29, 2024
1 parent 8ae5704 commit f0adfae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/graphic/Fast3D/gfx_pc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2535,7 +2535,7 @@ static void gfx_s2dex_bg_copy(F3DuObjBg* bg) {
rawTexMetadata.v_pixel_scale = tex->VPixelScale;
rawTexMetadata.type = tex->Type;
rawTexMetadata.resource = tex;
data = (uintptr_t)reinterpret_cast<char*>(tex->ImageData);
data = (uintptr_t) reinterpret_cast<char*>(tex->ImageData);
}

s16 dsdx = 4 << 10;
Expand Down Expand Up @@ -2574,7 +2574,7 @@ static void gfx_s2dex_bg_1cyc(F3DuObjBg* bg) {
rawTexMetadata.v_pixel_scale = tex->VPixelScale;
rawTexMetadata.type = tex->Type;
rawTexMetadata.resource = tex;
data = (uintptr_t)reinterpret_cast<char*>(tex->ImageData);
data = (uintptr_t) reinterpret_cast<char*>(tex->ImageData);
}

// TODO: Implement bg scaling correctly
Expand Down Expand Up @@ -3276,7 +3276,7 @@ bool gfx_set_timg_handler_rdp(F3DGfx** cmd0) {
return false;
}

i = (uintptr_t)reinterpret_cast<char*>(tex->ImageData);
i = (uintptr_t) reinterpret_cast<char*>(tex->ImageData);
texFlags = tex->Flags;
rawTexMetdata.width = tex->Width;
rawTexMetdata.height = tex->Height;
Expand Down

0 comments on commit f0adfae

Please sign in to comment.