Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5421 in orxonox.OLD for trunk/src/lib/graphics/text_engine/font.h


Ignore:
Timestamp:
Oct 22, 2005, 2:23:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: GUI-Element visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine/font.h

    r5369 r5421  
    7676    inline GLuint getFastTextureID() const { return this->fastTextureID; };
    7777    /** @returns the default Font */
    78     inline static Font* getDefaultFont() { return Font::defaultFont; };
     78    inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; };
    7979
    8080    void createAsciiImage(const char* fileName);
Note: See TracChangeset for help on using the changeset viewer.