kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24474
Re: mode openGL issues after latest updates
Hi Orson,
I tested your new change, still working but I was wondering:
void OPENGL_GAL::BeginUpdate()
{
if( IsShownOnScreen() )
SetCurrent( *OPENGL_GAL::glContext );
On this case shouldn't you not allow the begin of the update at all? (As you will not be able to render it)... but I dont know exactly how it is supposed to work.
Regards,
Mario
________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Mário Luzeiro [mrluzeiro@xxxxx]
Sent: 03 May 2016 15:27
To: Maciej Sumiński; kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] mode openGL issues after latest updates
I tested (on Windows) and it works!
I didn't feel any issues.
Thanks,
Mario
________________________________________
From: Maciej Sumiński [maciej.suminski@xxxxxxx]
Sent: 03 May 2016 15:20
To: Mário Luzeiro; kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: mode openGL issues after latest updates
On 05/03/2016 12:06 PM, Mário Luzeiro wrote:
> Hi Orson,
> I tested the new updates on my branch code, and now on Windows I got this issues after I close the 3d-viewer windows:
>
> Error: mapping vertices buffer: invalid operation
> Error: unmapping vertices buffer: invalid operation
> Error: unbinding vertices buffer: invalid operation
>
> My guess is that it may be related with oGL context? :S
>
> https://code.launchpad.net/~mrluzeiro/kicad/kicad_new3d-viewer
>
> On Linux it works fine.
>
> Any ideas?
> Regards,
> Mario Luzeiro
Hi Mario,
Thank you for the report. You are right, it was due to invalid OpenGL
context. I was able to recreate the problem on Linux and it should be
fixed now (revision 6769).
Regards,
Orson
Follow ups
References