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
bfe2d11b
Commit
bfe2d11b
authored
Jul 30, 2007
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Jul 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wgl: Fix compilation on systems without GLX_RGBA_FLOAT_ARB.
parent
5e7b31b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
opengl.c
dlls/winex11.drv/opengl.c
+3
-3
No files found.
dlls/winex11.drv/opengl.c
View file @
bfe2d11b
...
...
@@ -673,7 +673,7 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
case
WGL_TYPE_COLORINDEX_ARB
:
pop
=
GLX_COLOR_INDEX_BIT
;
isColor
=
1
;
break
;
case
WGL_TYPE_RGBA_ARB
:
pop
=
GLX_RGBA_BIT
;
break
;
/* This is the same as WGL_TYPE_RGBA_FLOAT_ATI but the GLX constants differ, only the ARB GLX one is widely supported so use that */
case
WGL_TYPE_RGBA_FLOAT_ATI
:
pop
=
GLX_RGBA_FLOAT_BIT
_ARB
;
break
;
case
WGL_TYPE_RGBA_FLOAT_ATI
:
pop
=
GLX_RGBA_FLOAT_BIT
;
break
;
default
:
ERR
(
"unexpected PixelType(%x)
\n
"
,
pop
);
pop
=
0
;
...
...
@@ -842,8 +842,8 @@ static int get_render_type_from_fbconfig(Display *display, GLXFBConfig fbconfig)
case
GLX_COLOR_INDEX_BIT
:
render_type
=
GLX_COLOR_INDEX_TYPE
;
break
;
case
GLX_RGBA_FLOAT_BIT
_ARB
:
render_type
=
GLX_RGBA_FLOAT_TYPE
_ARB
;
case
GLX_RGBA_FLOAT_BIT
:
render_type
=
GLX_RGBA_FLOAT_TYPE
;
break
;
default
:
ERR
(
"Unknown render_type: %x
\n
"
,
render_type
);
...
...
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