Index: Help/Help.vcxproj |
— | — | @@ -71,6 +71,9 @@ |
72 | 72 | <DeploymentContent>true</DeploymentContent>
|
73 | 73 | </None>
|
74 | 74 | <None Include="toc.hhc" />
|
| 75 | + <None Include="troubleshooting.htm">
|
| 76 | + <DeploymentContent>true</DeploymentContent>
|
| 77 | + </None>
|
75 | 78 | </ItemGroup>
|
76 | 79 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
77 | 80 | <ImportGroup Label="ExtensionTargets">
|
Index: Help/Help.vcxproj.filters |
— | — | @@ -27,5 +27,8 @@ |
28 | 28 | <None Include="dxgl.css">
|
29 | 29 | <Filter>Help files</Filter>
|
30 | 30 | </None>
|
| 31 | + <None Include="troubleshooting.htm">
|
| 32 | + <Filter>Help files</Filter>
|
| 33 | + </None>
|
31 | 34 | </ItemGroup>
|
32 | 35 | </Project> |
\ No newline at end of file |
Index: Help/toc.hhc |
— | — | @@ -16,5 +16,9 @@ |
17 | 17 | <param name="Name" value="Configuration">
|
18 | 18 | <param name="Local" value="configuration.htm">
|
19 | 19 | </OBJECT>
|
| 20 | + <LI> <OBJECT type="text/sitemap">
|
| 21 | + <param name="Name" value="Troubleshooting">
|
| 22 | + <param name="Local" value="troubleshooting.htm">
|
| 23 | + </OBJECT>
|
20 | 24 | </UL>
|
21 | 25 | </BODY></HTML>
|
Index: Installer/dxgl.nsi |
— | — | @@ -83,6 +83,7 @@ |
84 | 84 | File "..\ReadMe.txt"
|
85 | 85 | File "..\COPYING.txt"
|
86 | 86 | File "..\Help\dxgl.chm"
|
| 87 | + File "dllpaths.reg"
|
87 | 88 | CreateShortCut "$SMPROGRAMS\DXGL\DXGL Help.lnk" "$INSTDIR\dxgl.chm"
|
88 | 89 |
|
89 | 90 | StrCpy $8 0
|
Index: ReadMe.txt |
— | — | @@ -1,4 +1,4 @@ |
2 | | -DXGL 0.2.0
|
| 2 | +DXGL 0.2.1
|
3 | 3 | http://www.williamfeely.info/wiki/DXGL
|
4 | 4 |
|
5 | 5 | == Introduction ==
|
Index: common/version.h |
— | — | @@ -4,12 +4,12 @@ |
5 | 5 |
|
6 | 6 | #define DXGLMAJOR 0
|
7 | 7 | #define DXGLMINOR 2
|
8 | | -#define DXGLPOINT 0
|
| 8 | +#define DXGLPOINT 1
|
9 | 9 | #define DXGLBUILD 0
|
10 | 10 |
|
11 | 11 | #define DXGLVERNUMBER DXGLMAJOR,DXGLMINOR,DXGLPOINT,DXGLBUILD
|
12 | 12 | #define DXGLVERQWORD (((unsigned __int64)DXGLMAJOR<<48)+((unsigned __int64)DXGLMINOR<<32)+((unsigned __int64)DXGLPOINT<<16)+(unsigned __int64)DXGLBUILD)
|
13 | | -#define DXGLVERSTRING "0.2.0.0"
|
| 13 | +#define DXGLVERSTRING "0.2.1.0"
|
14 | 14 |
|
15 | 15 |
|
16 | 16 | #endif //__VERSION_H
|
Index: common/version.nsh |
— | — | @@ -1 +1 @@ |
2 | | -!define PRODUCT_VERSION "0.2.0" |
\ No newline at end of file |
| 2 | +!define PRODUCT_VERSION "0.2.1" |
\ No newline at end of file |
Index: ddraw/ddraw.cpp |
— | — | @@ -472,7 +472,17 @@ |
473 | 473 | FIXME("SetAppCompatData: stub\n");
|
474 | 474 | }
|
475 | 475 |
|
476 | | -/// Stub for function found in system ddraw.dll
|
| 476 | +/**
|
| 477 | + * Test if the ddraw.dll file is DXGL. Do not link to this entry point.
|
| 478 | + * Use LoadLibrary and GetProcAddress instead.
|
| 479 | + * @return
|
| 480 | + * Returns TRUE
|
| 481 | + * @remark
|
| 482 | + * Test for DXGL by testing if this function exists. Please do not use
|
| 483 | + * this function to test whether your program should run or not. This
|
| 484 | + * function may be changed or removed in case of abuse.
|
| 485 | + */
|
| 486 | +
|
477 | 487 | DDRAW_API BOOL IsDXGLDDraw()
|
478 | 488 | {
|
479 | 489 | return TRUE;
|
Index: ddraw/glClassFactory.cpp |
— | — | @@ -63,6 +63,7 @@ |
64 | 64 | {
|
65 | 65 | glDD7 = new glDirectDraw7;
|
66 | 66 | *ppvObject = new glDirectDraw1(glDD7);
|
| 67 | + glDD7->Release();
|
67 | 68 | return S_OK;
|
68 | 69 | }
|
69 | 70 | if(riid == IID_IDirectDraw2)
|
— | — | @@ -69,6 +70,7 @@ |
70 | 71 | {
|
71 | 72 | glDD7 = new glDirectDraw7;
|
72 | 73 | *ppvObject = new glDirectDraw2(glDD7);
|
| 74 | + glDD7->Release();
|
73 | 75 | return S_OK;
|
74 | 76 | }
|
75 | 77 | if(riid == IID_IDirectDraw4)
|
— | — | @@ -75,6 +77,7 @@ |
76 | 78 | {
|
77 | 79 | glDD7 = new glDirectDraw7;
|
78 | 80 | *ppvObject = new glDirectDraw4(glDD7);
|
| 81 | + glDD7->Release();
|
79 | 82 | return S_OK;
|
80 | 83 | }
|
81 | 84 | if(riid == IID_IDirectDraw7)
|