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 MW_FEATURE_BITMAPS to enable GrBitmap support #121

Merged
merged 1 commit into from
Mar 12, 2025
Merged

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Mar 12, 2025

Required by @tyama501 for Japanese text viewer discussed in ghaerr/elks#1387 (comment).

@ghaerr ghaerr merged commit 41bec2c into master Mar 12, 2025
@ghaerr ghaerr deleted the feature_bitmaps branch March 12, 2025 01:05
@@ -1236,7 +1237,9 @@ GdDrawImageByPoint(PSD psd, MWCOORD x, MWCOORD y, PMWIMAGEHDR pimage)

GdFixCursor(psd);
}
#endif /* MW_FEATURE_IMAGES*/
Copy link
Collaborator

Choose a reason for hiding this comment

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

the corresponding #if was commented out, so either this endif is completely dangling or at least the comment no longer accurate.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks for looking at this. I think the diff combined with my change makes this looks odd - as there used to be an embedded #if MW_FEATURE_IMAGES on line 851 which I changed to #if MW_FEATURE_ALPHA and commented out.

So, this #endif and comment are actually correct and match the corresponding #if MW_FEATURE_IMAGES on line 533.

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.

2 participants