mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Fix crash from lastShader pointer = 0xcdcdcdcd
This commit is contained in:
1 parent
111732aef4
commit
a1f35ebe7e
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user