Skip to content

Commit

Permalink
Fix dll loader on dedicated server
Browse files Browse the repository at this point in the history
  • Loading branch information
mittorn committed Sep 13, 2016
1 parent e1d76c8 commit d82c273
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loader/win32.c
Expand Up @@ -6577,6 +6577,7 @@ void* LookupExternalByName(const char* library, const char* name)
static void *WINAPI expwglGetProcAddress(const char *name)
{
int i;
#ifdef SDL

This comment has been minimized.

Copy link
@a1batross

a1batross Feb 3, 2017

Member

SDL?

for(i=0; i < sizeof(glfunctions)/sizeof(struct glfuncs);i++)
{
if(strcasecmp(glfunctions[i].name, name))
Expand All @@ -6587,6 +6588,7 @@ static void *WINAPI expwglGetProcAddress(const char *name)
return 0;
}
dbgprintf("Function %s not implemented in loader\n", name);
#endif
return 0;
}

Expand Down

0 comments on commit d82c273

Please sign in to comment.