mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-08 15:19:17 -05:00
Refactor removing extra space and add break line for { (#5533)
Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
This commit is contained in:
@ -894,7 +894,8 @@ void SwapScreenBuffer(void)
|
||||
const canvas = Module.canvas;
|
||||
const ctx = canvas.getContext('2d');
|
||||
|
||||
if (!Module.__img || (Module.__img.width !== width) || (Module.__img.height !== height)) {
|
||||
if (!Module.__img || (Module.__img.width !== width) || (Module.__img.height !== height))
|
||||
{
|
||||
Module.__img = ctx.createImageData(width, height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user