Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d7d1101d
Commit
d7d1101d
authored
May 09, 2005
by
Aric Cyr
Committed by
Alexandre Julliard
May 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix WGL_ACCELERATION_ARB queries from applications.
parent
0198255b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
wgl_ext.c
dlls/opengl32/wgl_ext.c
+8
-4
No files found.
dlls/opengl32/wgl_ext.c
View file @
d7d1101d
...
...
@@ -250,6 +250,10 @@ typedef struct wine_glpbuffer {
#define WGL_STENCIL_BITS_ARB 0x2023
#define WGL_AUX_BUFFERS_ARB 0x2024
#define WGL_NO_ACCELERATION_ARB 0x2025
#define WGL_GENERIC_ACCELERATION_ARB 0x2026
#define WGL_FULL_ACCELERATION_ARB 0x2027
#define WGL_PBUFFER_WIDTH_ARB 0x2034
#define WGL_PBUFFER_HEIGHT_ARB 0x2035
#define WGL_PBUFFER_LOST_ARB 0x2036
...
...
@@ -423,12 +427,12 @@ GLboolean WINAPI wglGetPixelFormatAttribivARB(HDC hdc, int iPixelFormat, int iLa
hTest
=
glXGetFBConfigAttrib
(
display
,
curCfg
,
curGLXAttr
,
&
tmp
);
if
(
hTest
)
goto
get_error
;
switch
(
tmp
)
{
case
GLX_NONE
:
piValues
[
i
]
=
GL_TRUE
;
break
;
case
GLX_SLOW_CONFIG
:
piValues
[
i
]
=
GL_FALSE
;
break
;
case
GLX_NON_CONFORMANT_CONFIG
:
piValues
[
i
]
=
GL_TRUE
;
break
;
/** really GL_TRUE ? */
case
GLX_NONE
:
piValues
[
i
]
=
WGL_FULL_ACCELERATION_ARB
;
break
;
case
GLX_SLOW_CONFIG
:
piValues
[
i
]
=
WGL_NO_ACCELERATION_ARB
;
break
;
case
GLX_NON_CONFORMANT_CONFIG
:
piValues
[
i
]
=
WGL_FULL_ACCELERATION_ARB
;
break
;
default:
ERR
(
"unexpected Config Caveat(%x)
\n
"
,
tmp
);
piValues
[
i
]
=
GL_FALSE
;
piValues
[
i
]
=
WGL_NO_ACCELERATION_ARB
;
}
continue
;
...
...
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