]> git.tdb.fi Git - r2c2.git/commitdiff
A couple of minor temporary fixes
authorMikko Rasa <tdb@tdb.fi>
Sat, 15 Jan 2011 18:01:56 +0000 (18:01 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sat, 15 Jan 2011 18:01:56 +0000 (18:01 +0000)
Build
source/designer/designer.cpp

diff --git a/Build b/Build
index fbced14d1a328d9adf005514935c0489997c9828..c9a35d43dbb5142805486867f18128ef07351fb4 100644 (file)
--- a/Build
+++ b/Build
@@ -18,6 +18,8 @@ package "r2c2"
        {
                source "source/libr2c2";
                require "mspdatafile";
+               // XXX drivers should be made into plugins to avoid this dependency
+               require "mspnet";
                install true;
        };
 
index 7d230429262fd24da9a93da33cbf77dc77e6d2d5..2002bd987910a7d28893ba32b1efd15db0671e39 100644 (file)
@@ -556,7 +556,9 @@ void Designer::render()
 
        GL::Bind bind_blend(GL::Blend::alpha());
        root.render();
+       // XXX Should fix GLtk so these would not be needed
        GL::Texture::unbind();
+       glColor3f(1.0, 1.0, 1.0);
 }
 
 void Designer::track_added(Track &trk)