From: Bergmann89 Date: Sat, 3 May 2014 16:48:22 +0000 (+0200) Subject: * removed duplicated unit usage X-Git-Tag: v3.0.1~1 X-Git-Url: https://git.delphigl.com/?a=commitdiff_plain;h=060ca52f8c439e9a7f52c49b8e5d3eec0790b039;p=glBitmap.git * removed duplicated unit usage * better description for delphi support compiler flag --- diff --git a/glBitmap.pas b/glBitmap.pas index b181705..d366652 100644 --- a/glBitmap.pas +++ b/glBitmap.pas @@ -221,7 +221,7 @@ unit glBitmap; // Please uncomment the defines below to configure the glBitmap to your preferences. // If you have configured the unit you can uncomment the warning above. -{.$MESSAGE warn 'Hey. I''m the glBitmap.pas and i need to be configured. My master tell me your preferences! ;)'} +{$MESSAGE error 'Hey. I''m the glBitmap.pas and i need to be configured. My master tell me your preferences! ;)'} ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Preferences /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -238,7 +238,7 @@ unit glBitmap; // activate to enable the support for SDL_surfaces {.$DEFINE GLB_SDL} -// activate to enable the support for TBitmap from Delphi (not lazarus) +// activate to enable the support for Delphi (including support for Delphi's (not Lazarus') TBitmap) {.$DEFINE GLB_DELPHI} // activate to enable the support for TLazIntfImage from Lazarus @@ -1236,7 +1236,6 @@ implementation uses Math, syncobjs, typinfo - {$IFDEF GLB_DELPHI}, Types{$ENDIF} {$IF DEFINED(GLB_SUPPORT_JPEG_READ) AND DEFINED(GLB_LAZ_JPEG)}, FPReadJPEG{$IFEND}; type