mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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;
|
pImg->m_pData = pImgBuffer;
|
||||||
|
|
||||||
if(ImageFormat == IMAGE_FORMAT_RGB) // ignore_convention
|
if(ImageFormat == IMAGE_FORMAT_RGB)
|
||||||
pImg->m_Format = CImageInfo::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;
|
pImg->m_Format = CImageInfo::FORMAT_RGBA;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -48,9 +48,9 @@ int LoadPNG(CImageInfo *pImg, const char *pFilename)
|
||||||
{
|
{
|
||||||
pImg->m_pData = pImgBuffer;
|
pImg->m_pData = pImgBuffer;
|
||||||
|
|
||||||
if(ImageFormat == IMAGE_FORMAT_RGB) // ignore_convention
|
if(ImageFormat == IMAGE_FORMAT_RGB)
|
||||||
pImg->m_Format = CImageInfo::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;
|
pImg->m_Format = CImageInfo::FORMAT_RGBA;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue