Skip to content

Commit

Permalink
Remove unused code that caused crashes during installation.
Browse files Browse the repository at this point in the history
Bump release version.
  • Loading branch information
dxgldotorg committed Jan 17, 2024
1 parent 4f776e2 commit b040d67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildtool/buildtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ int ProcessHeaders(char *path)
version.build = 0;
version.major = 0;
version.minor = 5;
version.point = 21;
version.point = 22;
if (!GetGitVersion(path, &version)) ParseVersion(&version, TRUE);
else ParseVersion(&version, TRUE);
if (SIGNMODE < 1) nosign = TRUE;
Expand Down
2 changes: 1 addition & 1 deletion common/releasever.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* Removed due to transition to Git - Git tags will set the version number
#define DXGLMAJORVER 0
#define DXGLMINORVER 5
#define DXGLPOINTVER 21
#define DXGLPOINTVER 22
#define DXGLBETA 0
Expand Down
6 changes: 3 additions & 3 deletions ddraw/dllmain.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DXGL
// Copyright (C) 2011-2018 William Feely
// Copyright (C) 2011-2024 William Feely

// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -66,7 +66,7 @@ BOOL APIENTRY DllMain( HMODULE hModule,
GlobalMemoryStatus(&memstatus);
dxglcfg.SystemRAM = memstatus.dwTotalPhys;
}
GetSystemDirectory(path, MAX_PATH);
/*GetSystemDirectory(path, MAX_PATH);
_tcscat(path, _T("\\ddraw.dll"));
hSystemDDraw = LoadLibrary(path);
if (!hSystemDDraw)
Expand All @@ -92,7 +92,7 @@ BOOL APIENTRY DllMain( HMODULE hModule,
dd2->GetAvailableVidMem(&caps, (DWORD*)&dxglcfg.VideoRAM, NULL);
dd2->Release();
dd->Release();
FreeLibrary(hSystemDDraw);
FreeLibrary(hSystemDDraw);*/
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
Expand Down

0 comments on commit b040d67

Please sign in to comment.