mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
12 lines
252 B
C++
12 lines
252 B
C++
#pragma once
|
|
|
|
#include <Common/Comparison.h>
|
|
|
|
#include <ddraw.h>
|
|
|
|
inline auto toTuple(const DDPIXELFORMAT& pf)
|
|
{
|
|
return std::make_tuple(pf.dwFlags, pf.dwFourCC, pf.dwRGBBitCount,
|
|
pf.dwRBitMask, pf.dwGBitMask, pf.dwBBitMask, pf.dwRGBAlphaBitMask);
|
|
}
|