From: cuz Date: Thu, 23 Oct 2003 09:30:37 +0000 (+0000) Subject: getpalette and getdefpalette may no longer return a NULL pointer. X-Git-Tag: V2.12.0~1225 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3531023e224bff34e9074a78f4d8619962b9c78d;p=cc65 getpalette and getdefpalette may no longer return a NULL pointer. git-svn-id: svn://svn.cc65.org/cc65/trunk@2569 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/tgi.h b/include/tgi.h index bb4a95644..e8580aaf7 100644 --- a/include/tgi.h +++ b/include/tgi.h @@ -136,14 +136,10 @@ void __fastcall__ tgi_setpalette (const unsigned char* palette); */ const unsigned char* __fastcall__ tgi_getpalette (void); -/* Return the current palette. Will return NULL for drivers that do not - * support palettes. - */ +/* Return the current palette. */ const unsigned char* __fastcall__ tgi_getdefpalette (void); -/* Return the default palette. Will return NULL for drivers that do not - * support palettes. - */ +/* Return the default palette. */ unsigned __fastcall__ tgi_getxres (void); /* Return the resolution in X direction. */