mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
clang-tidy: use nullptr
This commit is contained in:
parent
c4cff9b543
commit
f83d381e1e
1 changed files with 3 additions and 3 deletions
|
@ -587,7 +587,7 @@ namespace gl
|
||||||
|
|
||||||
void destroy()
|
void destroy()
|
||||||
{
|
{
|
||||||
if (!locked && pbo_id == 0 && vram_texture == 0 && m_fence.is_empty())
|
if (!locked && pbo_id == 0 && vram_texture == nullptr && m_fence.is_empty())
|
||||||
//Already destroyed
|
//Already destroyed
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -621,7 +621,7 @@ namespace gl
|
||||||
|
|
||||||
bool exists() const
|
bool exists() const
|
||||||
{
|
{
|
||||||
return vram_texture != 0;
|
return vram_texture != nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_flushable() const
|
bool is_flushable() const
|
||||||
|
@ -646,7 +646,7 @@ namespace gl
|
||||||
|
|
||||||
bool is_empty() const
|
bool is_empty() const
|
||||||
{
|
{
|
||||||
return vram_texture == 0;
|
return vram_texture == nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
gl::texture_view* get_view(u32 remap_encoding, const std::pair<std::array<u8, 4>, std::array<u8, 4>>& remap)
|
gl::texture_view* get_view(u32 remap_encoding, const std::pair<std::array<u8, 4>, std::array<u8, 4>>& remap)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue