mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
19 lines
395 B
C++
19 lines
395 B
C++
#include "QDPictEmitContext.h"
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
bool QDPictBlitSourceType_IsIndexed(QDPictBlitSourceType sourceType)
|
|
{
|
|
switch (sourceType)
|
|
{
|
|
case QDPictBlitSourceType_Indexed1Bit:
|
|
case QDPictBlitSourceType_Indexed2Bit:
|
|
case QDPictBlitSourceType_Indexed4Bit:
|
|
case QDPictBlitSourceType_Indexed8Bit:
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
}
|