Skip to content

Commit

Permalink
Fixed possible crash when Bind is called after BeginNewPass.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrrp committed Sep 21, 2009
1 parent cd6735a commit 4aa3d61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GLTextureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ void GLTextureManager::BeginNewPass()
++it;
UnregisterProgram(prog);
}
currentProgram = 0;
}

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit 4aa3d61

Please sign in to comment.