mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
Fix loading of default driver.
svn path=/trunk/; revision=10168
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: opengl32.c,v 1.17 2004/07/16 16:16:16 blight Exp $
|
||||
/* $Id: opengl32.c,v 1.18 2004/07/17 02:26:33 blight Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -601,7 +601,7 @@ static DWORD
|
||||
OPENGL32_RegGetDriverInfo( LPCWSTR driver, GLDRIVERDATA *icd )
|
||||
{
|
||||
HKEY hKey;
|
||||
WCHAR subKey[1024] = OPENGL_DRIVERS_SUBKEY;
|
||||
WCHAR subKey[1024] = OPENGL_DRIVERS_SUBKEY"\\";
|
||||
LONG ret;
|
||||
DWORD type, size;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: opengl32.h,v 1.16 2004/07/16 16:16:16 blight Exp $
|
||||
/* $Id: opengl32.h,v 1.17 2004/07/17 02:26:33 blight Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -22,7 +22,7 @@ extern "C" {
|
||||
# define PFD_GENERIC_ACCELERATED 0x00001000
|
||||
#endif
|
||||
|
||||
#define OPENGL_DRIVERS_SUBKEY L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\OpenGLDrivers\\"
|
||||
#define OPENGL_DRIVERS_SUBKEY L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\OpenGLDrivers"
|
||||
|
||||
/* gl function list */
|
||||
#include "glfuncs.h"
|
||||
|
||||
Reference in New Issue
Block a user