You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm here again! Now I have another problem, we use :
size(client.getLWidth(), client.getLHeight(), SMT.RENDERER);
and our sketch starts outside of our screen, but we use too: Frame.setLocation(0,0).
The problem is that, when we run the project for the first time, it doesn't work :
OpenGL error 1282 at bot beginDraw(): invalid operation
OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation
OpenGL error 1286 at top endDraw(): invalid framebuffer operation
OpenGL error 1286 at bot endDraw(): invalid framebuffer operation
In internet I read that's a problem between SMT.RENDERER and frame.setLocation. Can anybody help me??
Thx
The text was updated successfully, but these errors were encountered:
Unfortunately, this isn't enough information to be able to reproduce this issue. Do you think you could break down your code into a minimal possible sketch that produces the same errors and then share that? From what you've provided, I have no idea what "client" is nor in what context you make a call to setLocation and on what frame instance.
Also, are you running this code in Processing, or in Java through something like Eclipse, where you create other JFrames or something?
For me, modifying the first tutorial example by adding setLocation works fine as follows:
Hi, I'm here again! Now I have another problem, we use :
size(client.getLWidth(), client.getLHeight(), SMT.RENDERER);
and our sketch starts outside of our screen, but we use too: Frame.setLocation(0,0).
The problem is that, when we run the project for the first time, it doesn't work :
OpenGL error 1282 at bot beginDraw(): invalid operation
OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation
OpenGL error 1286 at top endDraw(): invalid framebuffer operation
OpenGL error 1286 at bot endDraw(): invalid framebuffer operation
In internet I read that's a problem between SMT.RENDERER and frame.setLocation. Can anybody help me??
Thx
The text was updated successfully, but these errors were encountered: