mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 01:20:25 +00:00
Minor change: Modified C comments to C++.
This commit is contained in:
parent
7fa04dddb2
commit
28b3f7fe8c
@ -297,10 +297,10 @@ void Editor::editor_draw_sprite(int x1, int y1, int x2, int y2)
|
||||
height = (m_sprite->getHeight() << m_zoom) - source_y;
|
||||
}
|
||||
|
||||
/* draw the sprite */
|
||||
// Draw the sprite
|
||||
|
||||
if ((width > 0) && (height > 0)) {
|
||||
/* generate the rendered image */
|
||||
// Generate the rendered image
|
||||
Image* rendered = RenderEngine::renderSprite(m_sprite,
|
||||
source_x, source_y,
|
||||
width, height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user