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