Cleanup a little to add "draw to buffer" (and bring back stamp).
[blender.git] / source / blender / blenfont / intern / blf_font.c
index c804fb6399d9c8ce2e00a2949ea16596036e7474..7521b7815f1ad6bd1eff0b3cc4a1422e3966c0fe 100644 (file)
@@ -310,7 +310,7 @@ void blf_font_fill(FontBLF *font)
        font->cache.last= NULL;
        font->glyph_cache= NULL;
        font->blur= 0;
-       glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&font->max_tex_size);
+       font->max_tex_size= -1;
 }
 
 FontBLF *blf_font_new(char *name, char *filename)