Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ee/gs/src/gsHires.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,6 @@ void gsKit_hires_init_screen(GSGLOBAL *gsGlobal, int passCount)
printf("gsKit_hires: Padding front buffer with %dKiB \n", iAlign/1024);
gsKit_vram_alloc(gsGlobal, iAlign, GSKIT_ALLOC_SYSBUFFER);
}
// first useable address for textures
gsGlobal->TexturePointer = gsGlobal->CurrentPointer;

// Restore depth buffer setting
gsGlobal->ZBuffering = ZBuffering_backup;
Expand Down Expand Up @@ -590,6 +588,9 @@ void gsKit_hires_init_screen(GSGLOBAL *gsGlobal, int passCount)
__buffer[2].addr = gsGlobal->ZBuffer;
}

// first useable address for textures (after any potential Zbuffer allocation)
gsGlobal->TexturePointer = gsGlobal->CurrentPointer;

//
// What buffers need to be used in what pass? That's what the pass array is for.
// Fill the pass array
Expand Down