1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Use countof with textures too

This commit is contained in:
Mathieu Schroeter 2017-02-15 17:34:48 +01:00
parent abadbda3d8
commit 97850c8def

View File

@ -62,7 +62,7 @@ CPixmap::~CPixmap()
}
}
for (i = 0 ; i < MAXIMAGE ; i++)
for (i = 0 ; i < countof (m_lpSDLTexture) ; i++)
{
if (m_lpSDLTexture[i] != nullptr)
{