mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
[WIN32SS] Implement display acceleration level 5 (ie no acceleration)
This is a easy as forcing usage of panning driver.
This commit is contained in:
parent
4e0f2fc01c
commit
81aa81e38f
1 changed files with 3 additions and 2 deletions
|
@ -301,7 +301,7 @@ PDEVOBJ_vFilterDriverHooks(
|
||||||
if (dwAccelerationLevel >= 5)
|
if (dwAccelerationLevel >= 5)
|
||||||
{
|
{
|
||||||
/* Disable all display accelerations */
|
/* Disable all display accelerations */
|
||||||
UNIMPLEMENTED;
|
/* (nothing to do. Already handled in PDEVOBJ_Create) */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -506,7 +506,8 @@ PDEVOBJ_Create(
|
||||||
ppdev->dwAccelerationLevel = dwAccelerationLevel;
|
ppdev->dwAccelerationLevel = dwAccelerationLevel;
|
||||||
|
|
||||||
/* Copy the function table */
|
/* Copy the function table */
|
||||||
if (pdm->dmFields & (DM_PANNINGWIDTH | DM_PANNINGHEIGHT))
|
if ((ldevtype == LDEV_DEVICE_DISPLAY && dwAccelerationLevel >= 5) ||
|
||||||
|
pdm->dmFields & (DM_PANNINGWIDTH | DM_PANNINGHEIGHT))
|
||||||
{
|
{
|
||||||
ULONG i;
|
ULONG i;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue