Skip to content
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

Particle example doesn't compile with USE_OPENGL_CONTEXT off #5

Open
SoylentGraham opened this issue Jun 19, 2013 · 0 comments
Open

Comments

@SoylentGraham
Copy link
Contributor

Working on windows, so seeing testing without the opengl context...
Will work on a pull-request when I get a chance, but for now; (Just to get it compiling)

  • change vec2 to float2
    opencl.readBuffer(... should be
clMemPosVBO.read( particlesPos, 0, sizeof(float2) * NUM_PARTICLES, true );

and I've just commented out OpenCL::setupFromOpenGL entirely as variables are in the wrong place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant