opengl32: Use HKCU instead of HKLM.

This commit is contained in:
Roderick Colenbrander 2006-11-04 22:28:41 +01:00 committed by Alexandre Julliard
parent 1d4effcaa5
commit 6c4267a1cf
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ static BOOL process_attach(void)
wine_wgl.p_wglGetIntegerv = (void *)wine_wgl.p_wglGetProcAddress("wglGetIntegerv");
internal_gl_disabled_extensions[0] = 0;
if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\OpenGL", &hkey)) {
if (!RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\OpenGL", &hkey)) {
if (!RegQueryValueExA( hkey, "DisabledExtensions", 0, NULL, (LPBYTE)internal_gl_disabled_extensions, &size)) {
TRACE("found DisabledExtensions=\"%s\"\n", internal_gl_disabled_extensions);
}