Commit e3fe35bc authored by Sascha Willems's avatar Sascha Willems

Removed conditional define for TRect with older FPC version

parent cb8fb602
# Delphi / Pascal OpenGL header translation
- OpenGL version 4.5
- Header revision 4.5c
- Header revision 4.5d
- Copyright (C) DGL-OpenGL-Portteam - All Rights Reserved
- Last update : 2015-11-23
- Last update : 2016-01-07
- Last updater : Sascha Willems
# Supported environments and targets
- (Win32) Delphi 4 and up
- (Win32, Win64) Delphi XE2
- (Win32, Win64, Linux, MacOSX) FreePascal (1.9.3 and up)
- (Win32, Win64, Linux, MacOSX) FreePascal (2.2.6 and up)
# Obtained through
- GitHub repository - https://github.com/SaschaWillems/dglOpenGL
......@@ -513,3 +513,6 @@ Added a function named RaiseLastOSError including a comment
# Version 4.5c
- Conditional define for TRect only for Free Pascal version < 20602 (SW)
# Version 4.5d
- Removed conditional define for TRect (FPC) due to error Delphi E2026
......@@ -392,17 +392,6 @@ type
PGLMatrixd4 = ^TGLMatrixd4;
PVector4i = ^TVector4i;
{$IFDEF FPC}
{$IF FPC_FULLVERSION < 20602}
TRect = packed record
Left, Top, Right, Bottom: Longint;
end;
{$ifend}
{$ENDIF}
PGPU_DEVICE = ^GPU_DEVICE;
GPU_DEVICE = record
cb: DWORD;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment