Glide64: remove looking up glide dll

This commit is contained in:
zilmar 2013-04-13 06:27:15 +10:00
parent 8a8e770b9a
commit 72471d1eeb
2 changed files with 0 additions and 1505 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1077,19 +1077,8 @@ int InitGfx ()
else
grTextureBufferExt = 0;
#ifdef __WINDOWS__
wxDynamicLibrary glidelib(_T("glide3x"));
if (glidelib.IsLoaded())
{
if (glidelib.HasSymbol(_T("_grStippleMode@4")))
grStippleModeExt = (GRSTIPPLE)glidelib.GetSymbol(_T("_grStippleMode@4"));
if (glidelib.HasSymbol(_T("_grStipplePattern@4")))
grStipplePatternExt = (GRSTIPPLE)glidelib.GetSymbol(_T("_grStipplePattern@4"));
}
#else
grStippleModeExt = (GRSTIPPLE)grStippleMode;
grStipplePatternExt = (GRSTIPPLE)grStipplePattern;
#endif
if (grStipplePatternExt)
grStipplePatternExt(settings.stipple_pattern);