mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 14:08:19 +00:00
Remove remaining obsolete // ignore_convention
comments
This commit is contained in:
parent
b6c0b31d1c
commit
15e4f9a886
|
@ -576,9 +576,9 @@ int CGraphics_Threaded::LoadPNG(CImageInfo *pImg, const char *pFilename, int Sto
|
|||
{
|
||||
pImg->m_pData = pImgBuffer;
|
||||
|
||||
if(ImageFormat == IMAGE_FORMAT_RGB) // ignore_convention
|
||||
if(ImageFormat == IMAGE_FORMAT_RGB)
|
||||
pImg->m_Format = CImageInfo::FORMAT_RGB;
|
||||
else if(ImageFormat == IMAGE_FORMAT_RGBA) // ignore_convention
|
||||
else if(ImageFormat == IMAGE_FORMAT_RGBA)
|
||||
pImg->m_Format = CImageInfo::FORMAT_RGBA;
|
||||
else
|
||||
{
|
||||
|
|
|
@ -48,9 +48,9 @@ int LoadPNG(CImageInfo *pImg, const char *pFilename)
|
|||
{
|
||||
pImg->m_pData = pImgBuffer;
|
||||
|
||||
if(ImageFormat == IMAGE_FORMAT_RGB) // ignore_convention
|
||||
if(ImageFormat == IMAGE_FORMAT_RGB)
|
||||
pImg->m_Format = CImageInfo::FORMAT_RGB;
|
||||
else if(ImageFormat == IMAGE_FORMAT_RGBA) // ignore_convention
|
||||
else if(ImageFormat == IMAGE_FORMAT_RGBA)
|
||||
pImg->m_Format = CImageInfo::FORMAT_RGBA;
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue