From 6c4267a1cfeea87b90b3f04791fe666a4745825d Mon Sep 17 00:00:00 2001
From: Roderick Colenbrander <thunderbird2k@gmx.net>
Date: Sat, 4 Nov 2006 22:28:41 +0100
Subject: [PATCH] opengl32: Use HKCU instead of HKLM.

---
 dlls/opengl32/wgl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 9baf3a32089..9fa6ab1e579 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -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);
     }
-- 
GitLab