aboutsummaryrefslogtreecommitdiff
path: root/hgeft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hgeft.cpp')
-rw-r--r--hgeft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hgeft.cpp b/hgeft.cpp
index ec4e7bc..a5b233a 100644
--- a/hgeft.cpp
+++ b/hgeft.cpp
@@ -1,7 +1,7 @@
// Freetype2 ext4hge implementations -*- C++ -*-
#include "hgeft.h"
static const char* HGEFT_SRC_FN="hgeft.cpp";
-void hgeTTChar::Free(){if(quad.tex)hge->Texture_Free(quad.tex),quad.tex=NULL;}
+void hgeTTChar::Free(){if(quad.tex)hge->Texture_Free(quad.tex),quad.tex=0;}
bool hgeTTChar::SetChar(wchar_t ch,FT_Face ttfface)
{
FT_GlyphSlot slot=ttfface->glyph;