opengl32: Add stub for wglGetDefaultProcAddress().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48898 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b0e2d046fc
commit
c169bfb428
|
@ -381,6 +381,8 @@ my %remapped_wgl_functions =
|
|||
"wglUseFontOutlines" => 0,
|
||||
);
|
||||
|
||||
my @extra_wgl_functions = ( "wglGetDefaultProcAddress" );
|
||||
|
||||
my %supported_wgl_extensions =
|
||||
(
|
||||
"WGL_ARB_create_context" => 1,
|
||||
|
@ -502,6 +504,10 @@ sub parse_file($)
|
|||
}
|
||||
$wgl_functions{$name} = $functions{$cmd->{name}};
|
||||
}
|
||||
foreach my $name (@extra_wgl_functions)
|
||||
{
|
||||
$wgl_functions{$name} = $functions{$name} if defined $functions{$name};
|
||||
}
|
||||
}
|
||||
next unless defined $norm_categories{$feature->{name}};
|
||||
foreach my $cmd ($feature->findnodes("./require/command"))
|
||||
|
|
|
@ -344,6 +344,7 @@
|
|||
@ stdcall wglDescribePixelFormat(long long long ptr)
|
||||
@ stdcall wglGetCurrentContext()
|
||||
@ stdcall wglGetCurrentDC()
|
||||
@ stdcall wglGetDefaultProcAddress(str)
|
||||
@ stdcall wglGetLayerPaletteEntries(long long long long ptr)
|
||||
@ stdcall wglGetPixelFormat(long)
|
||||
@ stdcall wglGetProcAddress(str)
|
||||
|
|
|
@ -949,6 +949,15 @@ int WINAPI wglSetLayerPaletteEntries(HDC hdc,
|
|||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* wglGetDefaultProcAddress (OPENGL32.@)
|
||||
*/
|
||||
PROC WINAPI wglGetDefaultProcAddress( LPCSTR name )
|
||||
{
|
||||
FIXME( "%s: stub\n", debugstr_a(name));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* wglSwapLayerBuffers (OPENGL32.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue