diff options
author | Stijn Buys <ingar@osirion.org> | 2009-04-16 19:36:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-04-16 19:36:15 +0000 |
commit | 6ab4021827e91303ac6fe2276f5567810b7e0496 (patch) | |
tree | 82c50c5a4bdc63da51c5bee9c122d165fd872aa6 /src/render/draw.cc | |
parent | a95028547981614e06ea7a6d22b853b85418cea3 (diff) |
updated a few help messages, added 3d modelview to the buy menu
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r-- | src/render/draw.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 6762b64..5784347 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -539,12 +539,8 @@ void draw_fragment(model::Fragment *fragment, bool draw_details) void draw_model_fragments(model::Model *model, const math::Color & color_primary, const math::Color & color_secondary, - const bool detail = true, const bool power = true, const float thrust = 0.0f) + const bool detail, const bool power, const float thrust) { - - if (!model) - return; - // default material, lighted and geometry color const model::Material *material = 0; bool use_light = true; // gl::disable(GL_LIGHTING) is set |