瀏覽代碼

64-Bit exceptions, Delphi 6 compatibility types in define

master
saschawillems 11 年之前
父節點
當前提交
37834ffc49
共有 1 個檔案被更改,包括 8 行新增5 行删除
  1. +8
    -5
      dglOpenGL.pas

+ 8
- 5
dglOpenGL.pas 查看文件

@@ -181,9 +181,11 @@ uses
;

type
// Needed for Delphi 6 and less (defined in system.pas for Delphi 7)
PPointer = ^Pointer;
PCardinal = ^Cardinal;
{$IFDEF DELPHI6_AND_DOWN}
// Delphi 6 compatibility
PPointer = ^Pointer;
PCardinal = ^Cardinal;
{$ENDIF}

GLenum = Cardinal;
GLboolean = BYTEBOOL;
@@ -20325,11 +20327,12 @@ initialization

{$IFDEF CPU386}
Set8087CW($133F);
{$IFDEF DGL_64BIT}
{$ENDIF}
{$IFDEF DGL_64BIT}
SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide,exOverflow, exUnderflow, exPrecision]);
{$ENDIF}
{$ENDIF}


finalization

end.


Loading…
取消
儲存