Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bitmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ BOOL CBitmap::Enlarge(int width, int height)
width = Width;
if (Height > height)
height = Height;
// try to create a larger bitmap
// try to create a larger bitmap [AI-REVIEW]
// !CAUTION! Sal 2.5b6 was slow when painting to Viewer (PgDn) compared to 2.0
Comment on lines +221 to 222
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
// try to create a larger bitmap [AI-REVIEW]
// !CAUTION! Sal 2.5b6 was slow when painting to Viewer (PgDn) compared to 2.0
// try to create a larger bitmap CHANGE1
// !CAUTION! Sal 2.5b6 was slow when painting to Viewer (PgDn) compared to 2.0 CHANGE2

comment1
comment2
comment3

// Caused by creating the cache with CreateBitmap() instead of CreateCompatibleBitmap()
// According to MSDN, CreateBitmap() should only be used for B&W bitmaps.
Expand Down
Loading