Author: greatlrd
Date: Thu Dec  9 14:30:17 2010
New Revision: 49995

URL: http://svn.reactos.org/svn/reactos?rev=49995&view=rev
Log:
DxDdStartupDxGraphics
fix loading dxg.sys remove vista stupied behvoir.
now it behvoir like windows 7, xp and 2003

Modified:
    branches/reactx/reactos/subsystems/win32/win32k/ntddraw/ddraw.c

Modified: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/ddraw.c
URL: 
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/win32k/ntddraw/ddraw.c?rev=49995&r1=49994&r2=49995&view=diff
==============================================================================
--- branches/reactx/reactos/subsystems/win32/win32k/ntddraw/ddraw.c 
[iso-8859-1] (original)
+++ branches/reactx/reactos/subsystems/win32/win32k/ntddraw/ddraw.c 
[iso-8859-1] Thu Dec  9 14:30:17 2010
@@ -138,16 +138,8 @@
 
     /* Loading the kernel interface of directx for win32k */
 
-    DPRINT1("Warning: trying loading vista dxkrnl.sys\n");
-    ghDxGraphics = 
EngLoadImage(L"\\SystemRoot\\System32\\drivers\\dxkrnl.sys");
-    if ( ghDxGraphics == NULL)
-    {
-        DPRINT1("Warning: dxkrnl.sys not found\n");
-        /* try loading vista dx kernel */
-        DPRINT1("Warning: trying loading xp/2003/reactos dxg.sys\n");
-        ghDxGraphics = 
EngLoadImage(L"\\SystemRoot\\System32\\drivers\\dxg.sys");
-    }
-
+    DPRINT1("Warning: trying loading xp/2003/windows7/reactos dxg.sys\n");
+    ghDxGraphics = EngLoadImage(L"\\SystemRoot\\System32\\drivers\\dxg.sys");
     if ( ghDxGraphics == NULL)
     {
         Status = STATUS_DLL_NOT_FOUND;


Reply via email to