pvr: crash when CurrentPP is null
This commit is contained in:
parent
2bdfdf96c1
commit
25a2c52960
|
@ -1215,7 +1215,7 @@ public:
|
||||||
{
|
{
|
||||||
//printf("Sprite\n");
|
//printf("Sprite\n");
|
||||||
PolyParam* d_pp=CurrentPP;
|
PolyParam* d_pp=CurrentPP;
|
||||||
if (CurrentPP->count!=0)
|
if (CurrentPP == NULL || CurrentPP->count != 0)
|
||||||
{
|
{
|
||||||
d_pp=CurrentPPlist->Append();
|
d_pp=CurrentPPlist->Append();
|
||||||
CurrentPP=d_pp;
|
CurrentPP=d_pp;
|
||||||
|
|
Loading…
Reference in New Issue