Author: greatlrd Date: Wed Nov 12 11:53:54 2008 New Revision: 37311
URL: http://svn.reactos.org/svn/reactos?rev=37311&view=rev Log: Fix a bug for vista dx. I did have time exam vista for a while now. And it contain the file dxg.sys and it start dx driver almost same way as XP does. and it seam the interface are same.
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/... ============================================================================== --- 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] Wed Nov 12 11:53:54 2008 @@ -132,21 +132,13 @@ * no code have been writen for it yet */
- /* FIXME ReactOS does not loading the dxapi.sys or import functions from it yet */ // DxApiGetVersion()
- /* 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"); - } + /* Loading the kernel dxg interface of directx for win32k */ + DPRINT1("Warning: trying loading xp/2003/vista/reactos dxg.sys\n"); + ghDxGraphics = EngLoadImage(L"\SystemRoot\System32\drivers\dxg.sys"); +
if ( ghDxGraphics == NULL) {