mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Also added v-sync to direct primary surface updates (i.e. those that are not using a back buffer and flip). Fixes issues #3 and #15.
17 lines
354 B
C++
17 lines
354 B
C++
#pragma once
|
|
|
|
#include "D3dDdi/Log/KernelModeThunksLog.h"
|
|
|
|
static const auto D3DDDI_FLIPINTERVAL_NOOVERRIDE = static_cast<D3DDDI_FLIPINTERVAL_TYPE>(5);
|
|
|
|
namespace D3dDdi
|
|
{
|
|
namespace KernelModeThunks
|
|
{
|
|
void installHooks();
|
|
bool isPresentReady();
|
|
void overrideFlipInterval(D3DDDI_FLIPINTERVAL_TYPE flipInterval);
|
|
void releaseVidPnSources();
|
|
}
|
|
}
|