projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
033c553
)
anti-aliasing? not effective...
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 20 Aug 2008 02:51:12 +0000
(22:51 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 20 Aug 2008 02:51:12 +0000
(22:51 -0400)
src/graphics/graphics.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/graphics/graphics.cpp
b/src/graphics/graphics.cpp
index
d9e1dcc
..
d5148c1
100644
(file)
--- a/
src/graphics/graphics.cpp
+++ b/
src/graphics/graphics.cpp
@@
-109,4
+109,14
@@
void glInit()
glLoadIdentity();
glEnable(GL_DEPTH_TEST);
+
+ // anti aliasing?
+ /*
+ glEnable(GL_BLEND);
+ glEnable(GL_POLYGON_SMOOTH_HINT);
+
+ glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE);
+
+ glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE);
+ */
}