Changeset 454 for GraphicTest/Methods/UOpenGLPBOMethod.pas
- Timestamp:
- Nov 26, 2012, 7:38:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Methods/UOpenGLPBOMethod.pas
r452 r454 6 6 7 7 uses 8 Classes, SysUtils, UDrawMethod, UFastBitmap, Controls 8 Classes, SysUtils, UDrawMethod, UFastBitmap, Controls, Graphics 9 9 {$IFDEF opengl}, GL, GLExt, OpenGLContext{$ENDIF}; 10 10 … … 16 16 pboIds: array[0..1] of GLuint; 17 17 Index, NextIndex: Integer; 18 procedure Init(AParent: TWinControl; Size: TPoint ); override;18 procedure Init(AParent: TWinControl; Size: TPoint; PixelFormat: TPixelFormat); override; 19 19 constructor Create; override; 20 20 destructor Destroy; override; … … 31 31 //procedure glGenBuffersARB2 : procedure(n : GLsizei; buffers : PGLuint); extdecl; 32 32 33 procedure TOpenGLPBOMethod.Init(AParent: TWinControl; Size: TPoint );33 procedure TOpenGLPBOMethod.Init(AParent: TWinControl; Size: TPoint; PixelFormat: TPixelFormat); 34 34 var 35 35 DataSize: Integer;
Note:
See TracChangeset
for help on using the changeset viewer.