X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FText.cpp;h=cc8ba278a13a3751607cc8bdef8f56bd9c932a62;hb=1bbb44900613dcf8d7ec2d24c5ec3f04467b4281;hp=f41fb6b8e369aec0432dabc5417957685e041dbb;hpb=0cca0c495c7dc29d134a10d7eed5de1f377c99bf;p=lugaru.git diff --git a/Source/Text.cpp b/Source/Text.cpp index f41fb6b..cc8ba27 100644 --- a/Source/Text.cpp +++ b/Source/Text.cpp @@ -257,5 +257,6 @@ Text::~Text() glDeleteLists(base, 512); base = 0; } - if (FontTexture) glDeleteTextures( 1, (const unsigned long *)&FontTexture ); + if (FontTexture) glDeleteTextures( 1, &FontTexture ); } +