Skip to content

Commit

Permalink
GPU: Reset context version on init.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Dec 27, 2017
1 parent e8ca467 commit 6bdf39c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPU/GPUState.cpp
Expand Up @@ -111,6 +111,8 @@ void GPUgstate::Reset() {
memset(gstate.projMatrix, 0, sizeof(gstate.projMatrix)); memset(gstate.projMatrix, 0, sizeof(gstate.projMatrix));
memset(gstate.tgenMatrix, 0, sizeof(gstate.tgenMatrix)); memset(gstate.tgenMatrix, 0, sizeof(gstate.tgenMatrix));
memset(gstate.boneMatrix, 0, sizeof(gstate.boneMatrix)); memset(gstate.boneMatrix, 0, sizeof(gstate.boneMatrix));

savedContextVersion = 1;
} }


void GPUgstate::Save(u32_le *ptr) { void GPUgstate::Save(u32_le *ptr) {
Expand Down

0 comments on commit 6bdf39c

Please sign in to comment.