Hi all,
I'm encountering a consistent crash, and I'm not sure how to address the
problem.
using:
- laz 0.9.28.2-8 beta, svn 22277, from debian testing -- a rather outdated one,
because at this point upgrading lazarus requires updating debian
- fpc 2.4.0-2 [2010/02/20] for i386
- fpgui commit e0
Hi!
On Thu, 9 Dec 2010 11:42:20 -0800, David Emerson
wrote:
> I'm encountering a consistent crash, and I'm not sure how to address the
> problem.
>
> using:
> - laz 0.9.28.2-8 beta, svn 22277, from debian testing -- a rather
outdated
> one,
> because at this point upgrading lazarus requires upd
I can not understand the data alignment of records.
I compiled the program PackRecordsDemo,
http://www.freepascal.org/docs-html/ref/refsu16.html#x40-470003.3.2 sample
documentation.
But the result on my computer is different:
Size Trec1 : 4 Offset B : 2
Size Trec2 : 3 Offset B : 1
Size Trec3 :
On 09 Dec 2010, at 22:33, Luis Fernando Del Aguila Mejía wrote:
> I can not understand the data alignment of records.
> I compiled the program PackRecordsDemo,
> http://www.freepascal.org/docs-html/ref/refsu16.html#x40-470003.3.2 sample
> documentation.
> But the result on my computer is differ
Thanks Matthias, FreeAndNil solved my problem! I was assuming that calling Free
would also nil out the variable holding the reference to the object, but
obviously it does not.
Cheers,
David
On Thu 9 Dec 2010, Matthias Klumpp wrote:
> Hi!
> On Thu, 9 Dec 2010 11:42:20 -0800, David Emerson
> wr
On Wed, 2010-12-08 at 23:06 +0100, Michalis Kamburelis wrote:
> Darius Blaszyk wrote:
> > Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it
> > in the repository, but perhaps someone knows if it is part of another
> > project.
> >
>
> SDL_opengl.h is just (one of the) cross
Hi,
In my code I experience a problem with drawing stippled lines with
OpenGL. In the following example no line is drawn, but when I change
glVertex2f(40, 480); to glVertex2f(640, 480); there is a stippled line
drawn. On the other hand, when I comment glEnable(GL_LINE_STIPPLE); then
a solid line i
I can't spot anything inherently wrong here. Try glOrtho with near plane
at -1
Otherwise, what kind of graphics driver are you running? Radeon DRI for
example? A quick search seems to indicate that that one has a persisting
problem with glLineStipple
Den 10-12-2010 00:34, Darius Blaszyk skre
Dear all,
I understand Delphi 2010 has changed its RTTI mechanism, and it is said
to be much more usable than the previous one.
(see here for example: http://www.malcolmgroves.com/blog/?p=476)
What are the FPC team's plans about improving the RTTI? Any similar or
as easy to use/powerful?
For