mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 14:07:08 +03:00
20 lines
371 B
C++
20 lines
371 B
C++
![]() |
#pragma once
|
||
|
|
||
|
#include "ddraw.hpp"
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace glrage {
|
||
|
namespace ddraw {
|
||
|
|
||
|
class DebugUtils
|
||
|
{
|
||
|
public:
|
||
|
static void dumpInfo(DDSURFACEDESC& desc);
|
||
|
static void dumpBuffer(
|
||
|
DDSURFACEDESC& desc, void* buffer, const std::wstring& path);
|
||
|
static std::string getSurfaceName(DDSURFACEDESC& desc);
|
||
|
};
|
||
|
|
||
|
} // namespace ddraw
|
||
|
} // namespace glrage
|