From 3531023e224bff34e9074a78f4d8619962b9c78d Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 23 Oct 2003 09:30:37 +0000 Subject: [PATCH 1/1] 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 --- include/tgi.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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. */ -- 2.39.5