X-Git-Url: https://git.delphigl.com/?p=LazOpenGLCore.git;a=blobdiff_plain;f=glBitmap.pas;fp=glBitmap.pas;h=0285b0fe4cb02651947c9fd3146b86ef30633fa1;hp=c18c83ba369bb58998ce8b431dc71bcb6e23c1a3;hb=fb955156e23a85973e7ee2f89954d90574982fef;hpb=360534200ca76fc9fa172fd9324895cd3845ea9f diff --git a/glBitmap.pas b/glBitmap.pas index c18c83b..0285b0f 100644 --- a/glBitmap.pas +++ b/glBitmap.pas @@ -24,73 +24,8 @@ 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 error 'Hey. I''m the glBitmap.pas and i need to be configured. My master tell me your preferences! ;)'} +{$I glBitmapConf.inc} -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// Preferences /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// enable support for OpenGL ES 1.1 -{.$DEFINE OPENGL_ES_1_1} - -// enable support for OpenGL ES 2.0 -{.$DEFINE OPENGL_ES_2_0} - -// enable support for OpenGL ES 3.0 -{.$DEFINE OPENGL_ES_3_0} - -// enable support for all OpenGL ES extensions -{.$DEFINE OPENGL_ES_EXT} - - - -// activate to enable the support for SDL_surfaces -{.$DEFINE GLB_SDL} - -// 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 -{.$DEFINE GLB_LAZARUS} - - - -// activate to enable the support of SDL_image to load files. (READ ONLY) -// If you enable SDL_image all other libraries will be ignored! -{.$DEFINE GLB_SDL_IMAGE} - - - -// activate to enable Lazarus TPortableNetworkGraphic support -// if you enable this pngImage and libPNG will be ignored -{.$DEFINE GLB_LAZ_PNG} - -// activate to enable png support with the unit pngimage -> http://pngdelphi.sourceforge.net/ -// if you enable pngimage the libPNG will be ignored -{.$DEFINE GLB_PNGIMAGE} - -// activate to use the libPNG -> http://www.libpng.org/ -// You will need an aditional header -> http://www.opengl24.de/index.php?cat=header&file=libpng -{.$DEFINE GLB_LIB_PNG} - - - -// activate to enable Lazarus TJPEGImage support -// if you enable this delphi jpegs and libJPEG will be ignored -{.$DEFINE GLB_LAZ_JPEG} - -// if you enable delphi jpegs the libJPEG will be ignored -{.$DEFINE GLB_DELPHI_JPEG} - -// activate to use the libJPEG -> http://www.ijg.org/ -// You will need an aditional header -> http://www.opengl24.de/index.php?cat=header&file=libjpeg -{.$DEFINE GLB_LIB_JPEG} - - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// PRIVATE: do not change anything! ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Delphi Versions {$IFDEF fpc} {$MODE Delphi}