Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
28c2ebb9
Commit
28c2ebb9
authored
Dec 05, 2006
by
Chris Robinson
Committed by
Alexandre Julliard
Dec 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wgl: Fix for missing NV GLX extension.
parent
01cc2c32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
opengl.c
dlls/winex11.drv/opengl.c
+9
-4
No files found.
dlls/winex11.drv/opengl.c
View file @
28c2ebb9
...
@@ -374,10 +374,6 @@ LOAD_FUNCPTR(glXMakeContextCurrent)
...
@@ -374,10 +374,6 @@ LOAD_FUNCPTR(glXMakeContextCurrent)
LOAD_FUNCPTR
(
glXGetCurrentReadDrawable
)
LOAD_FUNCPTR
(
glXGetCurrentReadDrawable
)
LOAD_FUNCPTR
(
glXGetFBConfigs
)
LOAD_FUNCPTR
(
glXGetFBConfigs
)
/* NV GLX Extension */
LOAD_FUNCPTR
(
glXAllocateMemoryNV
)
LOAD_FUNCPTR
(
glXFreeMemoryNV
)
/* Standard OpenGL calls */
/* Standard OpenGL calls */
LOAD_FUNCPTR
(
glBindTexture
)
LOAD_FUNCPTR
(
glBindTexture
)
LOAD_FUNCPTR
(
glBitmap
)
LOAD_FUNCPTR
(
glBitmap
)
...
@@ -392,6 +388,15 @@ LOAD_FUNCPTR(glNewList)
...
@@ -392,6 +388,15 @@ LOAD_FUNCPTR(glNewList)
LOAD_FUNCPTR
(
glPixelStorei
)
LOAD_FUNCPTR
(
glPixelStorei
)
#undef LOAD_FUNCPTR
#undef LOAD_FUNCPTR
/* It doesn't matter if these fail. They'll only be used if the driver reports
the associated extension is available (and if a driver reports the extension
is available but fails to provide the functions, it's quite broken) */
#define LOAD_FUNCPTR(f) p##f = (void*)pglXGetProcAddressARB((const unsigned char*)#f);
/* NV GLX Extension */
LOAD_FUNCPTR
(
glXAllocateMemoryNV
)
LOAD_FUNCPTR
(
glXFreeMemoryNV
)
#undef LOAD_FUNCPTR
if
(
!
X11DRV_WineGL_InitOpenglInfo
())
{
if
(
!
X11DRV_WineGL_InitOpenglInfo
())
{
ERR
(
"Intialization of OpenGL info failed, disabling OpenGL!
\n
"
);
ERR
(
"Intialization of OpenGL info failed, disabling OpenGL!
\n
"
);
wine_dlclose
(
opengl_handle
,
NULL
,
0
);
wine_dlclose
(
opengl_handle
,
NULL
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment