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
f6cc091d
Commit
f6cc091d
authored
Jul 23, 2009
by
Leonid Lobachev
Committed by
Alexandre Julliard
Jul 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add missing calling convention specifiers.
parent
8d54f582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
gl_compat.c
dlls/wined3d/gl_compat.c
+9
-9
No files found.
dlls/wined3d/gl_compat.c
View file @
f6cc091d
...
...
@@ -298,7 +298,7 @@ static void WINE_GLAPI wine_glVertex3fv(const GLfloat *pos) {
wine_glVertex4f
(
pos
[
0
],
pos
[
1
],
pos
[
2
],
1
.
0
f
);
}
static
void
wine_glColor4f
(
GLfloat
r
,
GLfloat
g
,
GLfloat
b
,
GLfloat
a
)
{
static
void
WINE_GLAPI
wine_glColor4f
(
GLfloat
r
,
GLfloat
g
,
GLfloat
b
,
GLfloat
a
)
{
struct
WineD3DContext
*
ctx
=
context_get_current
();
ctx
->
color
[
0
]
=
r
;
ctx
->
color
[
1
]
=
g
;
...
...
@@ -307,36 +307,36 @@ static void wine_glColor4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a) {
old_fogcoord_glColor4f
(
r
,
g
,
b
,
a
);
}
static
void
wine_glColor4fv
(
const
GLfloat
*
c
)
{
static
void
WINE_GLAPI
wine_glColor4fv
(
const
GLfloat
*
c
)
{
wine_glColor4f
(
c
[
0
],
c
[
1
],
c
[
2
],
c
[
3
]);
}
static
void
wine_glColor3f
(
GLfloat
r
,
GLfloat
g
,
GLfloat
b
)
{
static
void
WINE_GLAPI
wine_glColor3f
(
GLfloat
r
,
GLfloat
g
,
GLfloat
b
)
{
wine_glColor4f
(
r
,
g
,
b
,
1
.
0
f
);
}
static
void
wine_glColor3fv
(
const
GLfloat
*
c
)
{
static
void
WINE_GLAPI
wine_glColor3fv
(
const
GLfloat
*
c
)
{
wine_glColor4f
(
c
[
0
],
c
[
1
],
c
[
2
],
1
.
0
f
);
}
static
void
wine_glColor4ub
(
GLubyte
r
,
GLubyte
g
,
GLubyte
b
,
GLubyte
a
)
{
static
void
WINE_GLAPI
wine_glColor4ub
(
GLubyte
r
,
GLubyte
g
,
GLubyte
b
,
GLubyte
a
)
{
wine_glColor4f
(
r
/
255
.
0
f
,
g
/
255
.
0
f
,
b
/
255
.
0
f
,
a
/
255
.
0
f
);
}
/* In D3D the fog coord is a UBYTE, so there's no problem with using the single
* precision function
*/
static
void
wine_glFogCoordfEXT
(
GLfloat
f
)
{
static
void
WINE_GLAPI
wine_glFogCoordfEXT
(
GLfloat
f
)
{
struct
WineD3DContext
*
ctx
=
context_get_current
();
ctx
->
fog_coord_value
=
f
;
}
static
void
wine_glFogCoorddEXT
(
GLdouble
f
)
{
static
void
WINE_GLAPI
wine_glFogCoorddEXT
(
GLdouble
f
)
{
wine_glFogCoordfEXT
(
f
);
}
static
void
wine_glFogCoordfvEXT
(
const
GLfloat
*
f
)
{
static
void
WINE_GLAPI
wine_glFogCoordfvEXT
(
const
GLfloat
*
f
)
{
wine_glFogCoordfEXT
(
*
f
);
}
static
void
wine_glFogCoorddvEXT
(
const
GLdouble
*
f
)
{
static
void
WINE_GLAPI
wine_glFogCoorddvEXT
(
const
GLdouble
*
f
)
{
wine_glFogCoordfEXT
(
*
f
);
}
...
...
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