Re: [fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-11 Thread Darius Blaszyk
Thanks Reimar and Jeppe for your feedback. For developing, I'm using a low end PC. I fact this is also what I'm targeting for. My driver and card details are listed below. 1.3 Mesa 7.7.1 Tungsten Graphics, Inc Mesa DRI Intel(R) 865G GEM 20091221 2009Q4 x86/MMX/SSE2 However, I would expect that

Re: [fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-11 Thread Felipe Monteiro de Carvalho
Your program shows this in my Mac OS X: http://img64.imageshack.us/img64/640/screencapture3p.png Strange the the window does not have a close button. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-11 Thread Darius Blaszyk
Hi Felipe, On Sat, 2010-12-11 at 11:39 +0100, Felipe Monteiro de Carvalho wrote: Your program shows this in my Mac OS X: http://img64.imageshack.us/img64/640/screencapture3p.png This is exactly what I see on windows, and what is expected. Thanks for confirming. Strange the the window does

Re: [fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-10 Thread Reimar Grabowski
On Fri, 10 Dec 2010 00:47:41 +0100 Jeppe Johansen jepj...@es.aau.dk wrote: A quick search seems to indicate that that one has a persisting problem with glLineStipple Works as expected with the NVIDIA driver here, so the driver may really be the problem. R. -- A: Because it messes up the

[fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-09 Thread Darius Blaszyk
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

Re: [fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-09 Thread Jeppe Johansen
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