projects
/
miniglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78bc758
)
added glutWireTeapot
author
John Tsiombikas
<nuclear@member.fsf.org>
Thu, 6 Aug 2020 22:47:39 +0000
(
01:47
+0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Thu, 6 Aug 2020 22:47:39 +0000
(
01:47
+0300)
miniglut.c
patch
|
blob
|
history
diff --git
a/miniglut.c
b/miniglut.c
index
631aac4
..
0cac4a1
100644
(file)
--- a/
miniglut.c
+++ b/
miniglut.c
@@
-2270,6
+2270,10
@@
void glutSolidTeapot(float size)
void glutWireTeapot(float size)
{
+ glPushAttrib(GL_POLYGON_BIT);
+ glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
+ glutSolidTeapot(size);
+ glPopAttrib();
}