projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f985776
)
enable alpha blending for fonts
author
Derek Foreman
<manmower@gmail.com>
Fri, 30 May 2003 04:40:31 +0000
(
04:40
+0000)
committer
Derek Foreman
<manmower@gmail.com>
Fri, 30 May 2003 04:40:31 +0000
(
04:40
+0000)
render2/instance.c
patch
|
blob
|
history
diff --git
a/render2/instance.c
b/render2/instance.c
index fc76ae917f91c56d54c95b2b13fdae343d2dd4f0..3ffc544ddcd2ec40dbb1eaee4e25997f23890983 100644
(file)
--- a/
render2/instance.c
+++ b/
render2/instance.c
@@
-108,6
+108,8
@@
struct RrInstance *RrInstanceNew(Display *display, int screen)
inst->surface_map = g_hash_table_new(g_int_hash, g_int_equal);
assert(inst->glx_context);
+ glEnable(GL_BLEND);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
return inst;
}