-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Brownian example #7
Comments
Unfortunately, it is a known problem with Sketch (probably cl-sdl2 and cl-opengl as well, maybe even native libs) and Intel drivers on Linux - turning off double buffering is not possible. The Brownian example uses :COPY-PIXELS set to T to draw incrementally, that is, without clearing the screen between frames. Commenting out those lines helps, but makes the example (and everything that uses :COPY-PIXELS) work differently. I won't be fixing this directly because using (sdl2:gl-set-attr :doublebuffer 0)) was a hack in the first place. What I really want to do is to implement this (and many other nice things) using FBOs. I can't promise anything, but it's pretty high on my list of priorities and might even happen before the next Quicklisp release. |
Thank you for the reply and explanation. I did suspect that my "fix" would break other things. |
When I try to run the Brownian example, I get the following error:
I am running SBCL 1.2.14 on Ubuntu 15.10, with Intel HD Graphics 5500. I guess there's a good chance this is something to do with the Intel graphics drivers.
Commenting out these lines seems to solve the problem, but I cannot say I know why.
The text was updated successfully, but these errors were encountered: