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

Add glstate.dither.enable() to StateMapping #1081

Merged
merged 2 commits into from
Mar 26, 2013
Merged

Add glstate.dither.enable() to StateMapping #1081

merged 2 commits into from
Mar 26, 2013

Conversation

raven02
Copy link
Contributor

@raven02 raven02 commented Mar 26, 2013

No description provided.

if (gstate.isDitherEnabled()) {
glstate.dither.enable();
glstate.dither.set(GL_TRUE);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need an else that disable()s the dither? I don't really know.

-[Unknown]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think may be add it and inline with stencil/depth etc

@hrydgard
Copy link
Owner

I'm not sure there's really much reason to respect the dither setting if we are running at RGBA8888, as it's mostly used to hide how terrible RGB565 is. But okay :)

hrydgard added a commit that referenced this pull request Mar 26, 2013
Add glstate.dither.enable() to StateMapping
@hrydgard hrydgard merged commit f7942f2 into hrydgard:master Mar 26, 2013
@raven02
Copy link
Contributor Author

raven02 commented Mar 26, 2013

@hrydgard , in Android/iOS build , i think we are compulsory set colordepth to RGBA8888 .I'm wondering if allow the game to select colordepth like windows build which is TrueColor = false . Would it be faster in Android/iOS build ?

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

Successfully merging this pull request may close these issues.

None yet

3 participants