Browse Source

return a value

Cary Sandvig 25 years ago
parent
commit
62dafaaa17
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/gui/guiLabel.cxx

+ 1 - 0
panda/src/gui/guiLabel.cxx

@@ -88,6 +88,7 @@ GuiLabel* GuiLabel::make_simple_texture_label(Texture* texture) {
   uvs.push_back(TexCoordf(1., 0.));
   geoset->set_texcoords(uvs, G_PER_VERTEX);
   n2->add_geom(geoset);
+  return ret;
 }
 
 GuiLabel* GuiLabel::make_simple_text_label(const string& text, Node* font) {