mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-08-06 10:32:34 -05:00
Merge 4d8c9359a1 into sapling-pr-archive-icex2
This commit is contained in:
commit
cf8df078f5
|
|
@ -232,7 +232,7 @@ iidxhook_util_d3d9_log_create_device_params(struct hook_d3d9_irp *irp)
|
|||
"hDeviceWindow %p, Windowed %d, "
|
||||
"EnableAutoDepthStencil "
|
||||
"%d, AutoDepthStencilFormat %d, Flags %lX, "
|
||||
"FullScreen_RefreshRateInHz %d",
|
||||
"FullScreen_RefreshRateInHz %d, PresentationInterval %d",
|
||||
irp->args.ctx_create_device.pp->BackBufferWidth,
|
||||
irp->args.ctx_create_device.pp->BackBufferHeight,
|
||||
irp->args.ctx_create_device.pp->BackBufferFormat,
|
||||
|
|
@ -244,7 +244,13 @@ iidxhook_util_d3d9_log_create_device_params(struct hook_d3d9_irp *irp)
|
|||
irp->args.ctx_create_device.pp->EnableAutoDepthStencil,
|
||||
irp->args.ctx_create_device.pp->AutoDepthStencilFormat,
|
||||
irp->args.ctx_create_device.pp->Flags,
|
||||
irp->args.ctx_create_device.pp->FullScreen_RefreshRateInHz);
|
||||
irp->args.ctx_create_device.pp->FullScreen_RefreshRateInHz,
|
||||
irp->args.ctx_create_device.pp->PresentationInterval);
|
||||
|
||||
if (irp->args.ctx_create_device.pp->PresentationInterval != D3DPRESENT_INTERVAL_ONE) {
|
||||
log_warning("PresentationInterval is not 1, i.e. VSYNC is OFF (!): %d",
|
||||
irp->args.ctx_create_device.pp->PresentationInterval);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user