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
ac64bf64
Commit
ac64bf64
authored
Aug 10, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Detect EXT_provoking_vertex.
parent
8d746c31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
directx.c
dlls/wined3d/directx.c
+1
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+14
-0
No files found.
dlls/wined3d/directx.c
View file @
ac64bf64
...
...
@@ -100,6 +100,7 @@ static const struct {
{
"GL_EXT_packed_depth_stencil"
,
EXT_PACKED_DEPTH_STENCIL
,
0
},
{
"GL_EXT_paletted_texture"
,
EXT_PALETTED_TEXTURE
,
0
},
{
"GL_EXT_point_parameters"
,
EXT_POINT_PARAMETERS
,
0
},
{
"GL_EXT_provoking_vertex"
,
EXT_PROVOKING_VERTEX
,
0
},
{
"GL_EXT_secondary_color"
,
EXT_SECONDARY_COLOR
,
0
},
{
"GL_EXT_stencil_two_side"
,
EXT_STENCIL_TWO_SIDE
,
0
},
{
"GL_EXT_stencil_wrap"
,
EXT_STENCIL_WRAP
,
0
},
...
...
dlls/wined3d/wined3d_gl.h
View file @
ac64bf64
...
...
@@ -1952,6 +1952,17 @@ typedef void (WINE_GLAPI * PGLFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum inte
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNGLPOINTPARAMETERFEXTPROC
)
(
GLenum
pname
,
GLfloat
param
);
typedef
void
(
WINE_GLAPI
*
PGLFNGLPOINTPARAMETERFVEXTPROC
)
(
GLenum
pname
,
const
GLfloat
*
params
);
/* GL_EXT_provoking_vertex */
#ifndef GL_EXT_provoking_vertex
#define GL_EXT_provoking_vertex 1
#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8e4d
#define GL_LAST_VERTEX_CONVENTION_EXT 0x8e4e
#define GL_PROVOKING_VERTEX_EXT 0x8e4f
#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTIONS_EXT 0x8e4c
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNGLPROVOKINGVERTEXEXTPROC
)(
GLenum
mode
);
/* GL_EXT_texture3D */
#ifndef GL_EXT_texture3D
#define GL_EXT_texture3D 1
...
...
@@ -3458,6 +3469,7 @@ typedef enum _GL_SupportedExt {
EXT_PALETTED_TEXTURE
,
EXT_PIXEL_BUFFER_OBJECT
,
EXT_POINT_PARAMETERS
,
EXT_PROVOKING_VERTEX
,
EXT_SECONDARY_COLOR
,
EXT_STENCIL_TWO_SIDE
,
EXT_STENCIL_WRAP
,
...
...
@@ -3634,6 +3646,8 @@ typedef enum _GL_SupportedExt {
/* GL_EXT_point_parameters */
\
USE_GL_FUNC(PGLFNGLPOINTPARAMETERFEXTPROC, glPointParameterfEXT, EXT_POINT_PARAMETERS, NULL )\
USE_GL_FUNC(PGLFNGLPOINTPARAMETERFVEXTPROC, glPointParameterfvEXT, EXT_POINT_PARAMETERS, NULL )\
/* GL_EXT_provoking_vertex */
\
USE_GL_FUNC(PGLFNGLPROVOKINGVERTEXEXTPROC, glProvokingVertexEXT, EXT_PROVOKING_VERTEX, NULL)\
/* GL_EXT_secondary_color */
\
USE_GL_FUNC(PGLFNGLSECONDARYCOLOR3UBEXTPROC, glSecondaryColor3ubEXT, EXT_SECONDARY_COLOR, NULL )\
USE_GL_FUNC(PGLFNGLSECONDARYCOLOR3UBVEXTPROC, glSecondaryColor3ubvEXT, EXT_SECONDARY_COLOR, NULL )\
...
...
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