Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0010508 [FPC] Packages minor always 2007-12-30 10:00 2008-05-03 22:57
Reporter Michalis Kamburelis View Status public  
Assigned To Jonas Maebe
Priority normal Resolution fixed  
Status closed   Product Version 2.3.1
Summary 0010508: Fix GLExt for x86_64
Description glext_ExtensionSupported in GLExt unit does arithmetic on pointers casting them to Integer type, this obviously causes Access violations/segfaults from any Load_xxx function when on x86_64.

Fix is to use PtrUInt type. Simple patch is attached.

While I was at it, also GLintptr and GLsizeiptr need fixing (were Integer, should be PtrInt (signed are OK here, looking at how they are supposed to be used in GL)).
Additional Information
Tags No tags attached.
FPCOldBugId 0
Fixed in Revision 9762
Attached Files ? file icon glext.patch [^] (887 bytes) 2007-12-30 10:00

- Relationships

-  Notes
(0017076)
Jonas Maebe (manager)
2008-01-04 23:47

Patch applied, thanks.

- Issue History
Date Modified Username Field Change
2007-12-30 10:00 Michalis Kamburelis New Issue
2007-12-30 10:00 Michalis Kamburelis File Added: glext.patch
2008-01-04 23:47 Jonas Maebe Fixed in Revision => 9627
2008-01-04 23:47 Jonas Maebe Status new => resolved
2008-01-04 23:47 Jonas Maebe Fixed in Version => 2.3.1
2008-01-04 23:47 Jonas Maebe Resolution open => fixed
2008-01-04 23:47 Jonas Maebe Assigned To => Jonas Maebe
2008-01-04 23:47 Jonas Maebe Note Added: 0017076
2008-02-10 14:45 Jonas Maebe FPCOldBugId => 0
2008-02-10 14:45 Jonas Maebe FPCTarget => -
2008-02-10 14:45 Jonas Maebe Fixed in Revision 9627 => 9762
2008-02-10 14:45 Jonas Maebe Fixed in Version 2.3.1 => 2.2.1
2008-05-03 22:57 Jonas Maebe Status resolved => closed



Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker