Commit c169bfb4 authored by Alexandre Julliard's avatar Alexandre Julliard

opengl32: Add stub for wglGetDefaultProcAddress().

parent b0e2d046
......@@ -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)
......
......@@ -950,6 +950,15 @@ int WINAPI wglSetLayerPaletteEntries(HDC hdc,
}
/***********************************************************************
* wglGetDefaultProcAddress (OPENGL32.@)
*/
PROC WINAPI wglGetDefaultProcAddress( LPCSTR name )
{
FIXME( "%s: stub\n", debugstr_a(name));
return NULL;
}
/***********************************************************************
* wglSwapLayerBuffers (OPENGL32.@)
*/
BOOL WINAPI wglSwapLayerBuffers(HDC hdc,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment