mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
More work. Audio driver works enough to play music now.
This commit is contained in:
18
PortabilityLayer/QDPictEmitContext.cpp
Normal file
18
PortabilityLayer/QDPictEmitContext.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user