aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PS3/4JLibs/inc/4J_Render.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/PS3/4JLibs/inc/4J_Render.h')
-rw-r--r--Minecraft.Client/PS3/4JLibs/inc/4J_Render.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.Client/PS3/4JLibs/inc/4J_Render.h b/Minecraft.Client/PS3/4JLibs/inc/4J_Render.h
index d55f440b..1b68695f 100644
--- a/Minecraft.Client/PS3/4JLibs/inc/4J_Render.h
+++ b/Minecraft.Client/PS3/4JLibs/inc/4J_Render.h
@@ -17,8 +17,8 @@ public:
int GetType() { return m_type; }
void *GetBufferPointer() { return m_pBuffer; }
int GetBufferSize() { return m_bufferSize; }
- void Release() { delete m_pBuffer; m_pBuffer = NULL; }
- bool Allocated() { return m_pBuffer != NULL; }
+ void Release() { delete m_pBuffer; m_pBuffer = nullptr; }
+ bool Allocated() { return m_pBuffer != nullptr; }
};
typedef struct
@@ -60,7 +60,7 @@ public:
void InitialiseContext();
void StartFrame();
void Present();
- void Clear(int flags, D3D11_RECT *pRect = NULL);
+ void Clear(int flags, D3D11_RECT *pRect = nullptr);
void SetClearColour(const float colourRGBA[4]);
bool IsWidescreen();
bool IsHiDef();