Naja, wenn du einmal einen kurzen Blick in die glBitmap.pas geworfen hättest, hättest du gesehen, dass die entsprechende Funktion in einem ifdef steht:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7:
| {$ifdef GLB_DELPHI} function AssignToBitmap(const Bitmap: TBitmap): boolean; function AssignFromBitmap(const Bitmap: TBitmap): boolean; function AssignAlphaToBitmap(const Bitmap: TBitmap): boolean;
function AddAlphaFromBitmap(Bitmap: TBitmap; Func: TglBitmapFunction = nil; CustomData: Pointer = nil): boolean; {$endif} |
Und wenn du dann wiederum nach GLB_DELPHI gesucht hättest, hättest du direkt am Anfang der Datei gleich den großen Hinweis dazu gesehen:
Zitat: |
History
21-03-2010
- The define GLB_DELPHI dosn't check versions anymore. If you say you are using delphi
then it's your problem if that isn't true. This prevents the unit for incompatibility
with newer versions of Delphi. |
Du musst also den Punkt bei der entsprechenden Definition entfernen um die Funktion nutzen zu können:
Delphi-Quelltext