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

Window STEREO_BUF mode no longer works when called before window.create() #5

Closed
grrrwaaa opened this issue Aug 21, 2012 · 2 comments
Closed

Comments

@grrrwaaa
Copy link
Member

Previously, setting up an active stereo window required applying the Window::STEREO_BUF mode in the create() call.

This no longer works, which broke a few existing projects. (Tested on Ubuntu 12.04 in the AlloSphere).

Instead, the mode has now to be applied after create() has been called. This results in more onCreate() and onResize() calls than strictly necessary, slowing down application startup in some cases.

@LancePutnam
Copy link
Member

I couldn't replicate the problem. Do you see the same behavior with examples/graphics/stereographic.cpp when replacing

win.create(Window::Dim(100, 0, 640, 480), "Stereographic Example", 60);
win.displayMode(win.displayMode() | Window::STEREO_BUF);

with

win.create(Window::Dim(100, 0, 640, 480), "Stereographic Example", 60, Window::DEFAULT_BUF | Window::STEREO_BUF);

?

@grrrwaaa
Copy link
Member Author

Apparently that's working now. Maybe it was related to the issues Matt was having getting AlloSystem to clean & build, or with the nVidia drivers?

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

2 participants