Permalink
Browse files

GPU: Reset context version on init.

  • Loading branch information...
unknownbrackets committed Dec 27, 2017
1 parent e8ca467 commit 6bdf39c232ca6792dbe216d77caeb170ecba4d38
Showing with 2 additions and 0 deletions.
  1. +2 −0 GPU/GPUState.cpp
View
@@ -111,6 +111,8 @@ void GPUgstate::Reset() {
memset(gstate.projMatrix, 0, sizeof(gstate.projMatrix));
memset(gstate.tgenMatrix, 0, sizeof(gstate.tgenMatrix));
memset(gstate.boneMatrix, 0, sizeof(gstate.boneMatrix));
savedContextVersion = 1;
}
void GPUgstate::Save(u32_le *ptr) {

0 comments on commit 6bdf39c

Please sign in to comment.