Qt Software Rendrer: Use a casted comparison instead of calling memcmp().
This commit is contained in:
@@ -59,8 +59,7 @@ SoftwareRenderer::onBlit(int buf_idx, int x, int y, int w, int h)
|
||||
{
|
||||
/* TODO: should look into deleteLater() */
|
||||
auto tval = this;
|
||||
void *nuldata = 0;
|
||||
if (memcmp(&tval, &nuldata, sizeof(void *)) == 0)
|
||||
if ((void *) tval == nullptr)
|
||||
return;
|
||||
auto origSource = source;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user