mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:43:22 +00:00
[WIN32SS][NTDDRAW] Don't startup DirectX graphics each time on DirectDraw object creation (#5329)
CORE-17561, CORE-17932, CORE-18221 Do it at each system startup instead: Remove old DirectX initialization code. It's now outdated and not needed anymore. Previously, the corresponding hackish intEnableReactXDriver() function did two things: load dxg.sys and enable DirectDraw. Now loading DirectX graphics is done during WINSRV initialization, and enabling DirectDraw is called during each (and also first) display mode switch, as in Windows. As debug analysis proves, there are no any other calls in NtGdiDdCreateDirectDrawObject, besides the corresponding DXG function.
This commit is contained in:
parent
e034377b51
commit
e7ccb36b9b
2 changed files with 0 additions and 90 deletions
|
@ -8,7 +8,6 @@
|
|||
#include <reactos/drivers/directx/dxeng.h>
|
||||
|
||||
/* From ddraw.c */
|
||||
BOOL intEnableReactXDriver(HDC);
|
||||
NTSTATUS APIENTRY DxDdStartupDxGraphics(ULONG, PDRVENABLEDATA, ULONG, PDRVENABLEDATA, PULONG, PEPROCESS);
|
||||
extern DRVFN gpDxFuncs[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue