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

rsx/common/gl/d3d12/vulkan: Use exact mipmap counts. #1625

Merged
merged 1 commit into from Mar 26, 2016
Merged

Conversation

vlj
Copy link
Contributor

@vlj vlj commented Mar 25, 2016

Fix invalid textures in gl backend.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @kd-11, @DHrpcs3 and @raven02 to be potential reviewers

@vlj vlj mentioned this pull request Mar 25, 2016


#define MAX2(a, b) (((a) > (b)) ? (a) : (b))
#define MIN2(a, b) (((a) > (b)) ? (b) : (a))
Copy link
Member

Choose a reason for hiding this comment

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

What is the purpose of these macro? Why not use std::min/max in the first place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ho I didn't know std::min/max was available in MSVC now

Fix invalid textures in gl backend.
@danilaml
Copy link
Contributor

Btw, there is typo in commit and PR name (mimap instead of mipmap).

@vlj vlj changed the title rsx/common/gl/d3d12/vulkan: Use exact mimap counts. rsx/common/gl/d3d12/vulkan: Use exact mipmap counts. Mar 25, 2016
@vlj vlj merged commit 0838e32 into RPCS3:master Mar 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants