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

GeometryShaderManager: Set viewport in SetConstants(). #1771

Merged
merged 1 commit into from Dec 26, 2014

Conversation

CrossVR
Copy link
Contributor

@CrossVR CrossVR commented Dec 26, 2014

Setting it in the callback is too early.

Fixes issue 8005.

Setting it in the callback is too early.
constants.lineptparams[0] = 2.0f * xfmem.viewport.wd;
constants.lineptparams[1] = -2.0f * xfmem.viewport.ht;
dirty = true;
s_viewport_changed = true;

This comment was marked as off-topic.

This comment was marked as off-topic.

@degasus
Copy link
Member

degasus commented Dec 26, 2014

LGTM

degasus added a commit that referenced this pull request Dec 26, 2014
GeometryShaderManager: Set viewport in SetConstants().
@degasus degasus merged commit c66b4bc into dolphin-emu:master Dec 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants