mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix crash from lastShader pointer = 0xcdcdcdcd
This commit is contained in:
parent
111732aef4
commit
a1f35ebe7e
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ private:
|
|||
class ShaderManager
|
||||
{
|
||||
public:
|
||||
ShaderManager() : globalDirty(0xFFFFFFFF) {}
|
||||
ShaderManager() : lastShader(NULL), globalDirty(0xFFFFFFFF) {}
|
||||
|
||||
void ClearCache(bool deleteThem); // TODO: deleteThem currently not respected
|
||||
LinkedShader *ApplyShader(int prim);
|
||||
|
|
Loading…
Add table
Reference in a new issue