diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-01 11:09:19 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-01 11:09:19 (GMT) |
commit | 13888cfe9294d1649dff5ea84d5fd76a77182458 (patch) | |
tree | a759ce0590a6645d60189aa1664045be2e892956 /glview.cc | |
parent | 82fad98cb63d6e27e7c156d4c5e4c9a9847abfd1 (diff) |
Clifford Wolf:
Support for hightlights
git-svn-id: http://svn.clifford.at/openscad/trunk@45 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'glview.cc')
-rw-r--r-- | glview.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -53,6 +53,9 @@ void GLView::initializeGL() glEnable(GL_DEPTH_TEST); glDepthRange(-FAR_FAR_AWAY, +FAR_FAR_AWAY); + glEnable(GL_BLEND); + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glClearColor(1.0, 1.0, 0.9, 0.0); #ifdef ENABLE_OPENCSG |