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
912035f9
Commit
912035f9
authored
Sep 14, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Sep 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glu32: Fix wrapper function for glu[Begin|End]Polygon and gluNextContour.
parent
c8f758a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
24 deletions
+31
-24
glu.c
dlls/glu32/glu.c
+31
-24
No files found.
dlls/glu32/glu.c
View file @
912035f9
...
...
@@ -352,30 +352,6 @@ int WINAPI wine_gluNurbsCallback(void *arg0,int arg1,void *arg2) {
}
/***********************************************************************
* gluBeginPolygon (GLU32.@)
*/
extern
int
gluBeginPolygon
(
void
*
arg0
);
int
WINAPI
wine_gluBeginPolygon
(
void
*
arg0
)
{
return
gluBeginPolygon
(
arg0
);
}
/***********************************************************************
* gluEndPolygon (GLU32.@)
*/
extern
int
gluEndPolygon
(
void
*
arg0
);
int
WINAPI
wine_gluEndPolygon
(
void
*
arg0
)
{
return
gluEndPolygon
(
arg0
);
}
/***********************************************************************
* gluNextContour (GLU32.@)
*/
extern
int
gluNextContour
(
void
*
arg0
,
int
arg1
);
int
WINAPI
wine_gluNextContour
(
void
*
arg0
,
int
arg1
)
{
return
gluNextContour
(
arg0
,
arg1
);
}
/***********************************************************************
* gluGetString (GLU32.@)
*/
extern
int
gluGetString
(
int
arg0
);
...
...
@@ -617,3 +593,34 @@ void WINAPI wine_gluTessNormal(void *tess, double arg1, double arg2, double arg3
wine_tess_t
*
wine_tess
=
tess
;
gluTessNormal
(
wine_tess
->
tess
,
arg1
,
arg2
,
arg3
);
}
/***********************************************************************
* gluBeginPolygon (GLU32.@)
*/
void
WINAPI
wine_gluBeginPolygon
(
void
*
tess
)
{
wine_tess_t
*
wine_tess
=
tess
;
wine_tess
->
polygon_data
=
NULL
;
gluTessBeginPolygon
(
wine_tess
->
tess
,
wine_tess
);
gluTessBeginContour
(
wine_tess
->
tess
);
}
/***********************************************************************
* gluEndPolygon (GLU32.@)
*/
void
WINAPI
wine_gluEndPolygon
(
void
*
tess
)
{
wine_tess_t
*
wine_tess
=
tess
;
gluTessEndContour
(
wine_tess
->
tess
);
gluTessEndPolygon
(
wine_tess
->
tess
);
}
/***********************************************************************
* gluNextContour (GLU32.@)
*/
void
WINAPI
wine_gluNextContour
(
void
*
tess
,
int
arg1
)
{
wine_tess_t
*
wine_tess
=
tess
;
gluTessEndContour
(
wine_tess
->
tess
);
gluTessBeginContour
(
wine_tess
->
tess
);
}
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