mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
prevent reads of uninitialized memory.
This commit is contained in:
parent
8fcf93e462
commit
23dae72bce
2 changed files with 4 additions and 4 deletions
|
@ -387,8 +387,8 @@ protected:
|
|||
bool gameUsesSequentialCopies_ = false;
|
||||
|
||||
// Sampled in BeginFrame for safety.
|
||||
float renderWidth_;
|
||||
float renderHeight_;
|
||||
float renderWidth_ = 0.0f;
|
||||
float renderHeight_ = 0.0f;
|
||||
int pixelWidth_;
|
||||
int pixelHeight_;
|
||||
int bloomHack_ = 0;
|
||||
|
|
|
@ -332,8 +332,8 @@ protected:
|
|||
bool debugRecording_;
|
||||
bool interruptsEnabled_;
|
||||
bool resized_;
|
||||
DrawType lastDraw_;
|
||||
GEPrimitiveType lastPrim_;
|
||||
DrawType lastDraw_ = DRAW_UNKNOWN;
|
||||
GEPrimitiveType lastPrim_ = GE_PRIM_INVALID;
|
||||
|
||||
int vertexCost_ = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue