Browse Source

Minor fixes.

Darryl Pogue 11 years ago
parent
commit
cc264e3f43
  1. 2
      Sources/Plasma/PubUtilLib/plPipeline/plCubicRenderTargetModifier.cpp
  2. 2
      Sources/Plasma/PubUtilLib/plPipeline/plTextGenerator.cpp

2
Sources/Plasma/PubUtilLib/plPipeline/plCubicRenderTargetModifier.cpp

@ -205,7 +205,7 @@ bool plCubicRenderTargetModifier::MsgReceive( plMessage* msg )
for (int i = 0; i < 6; i++) for (int i = 0; i < 6; i++)
{ {
delete fRequests[i]; delete fRequests[i];
fRequests[i] = nil; fRequests[i] = nullptr;
} }
} }
} }

2
Sources/Plasma/PubUtilLib/plPipeline/plTextGenerator.cpp

@ -204,7 +204,7 @@ uint32_t *plTextGenerator::IAllocateOSSurface( uint16_t width, uint16_t hei
return (uint32_t *)fWinRGBBits; return (uint32_t *)fWinRGBBits;
#else #else
return 0; return nullptr;
#endif #endif
} }

Loading…
Cancel
Save