Fix SDL2 crash when creating cursor
Enfoiré de REMqb
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Nz
|
|||||||
m_iconImage.GetWidth(),
|
m_iconImage.GetWidth(),
|
||||||
m_iconImage.GetHeight(),
|
m_iconImage.GetHeight(),
|
||||||
32,
|
32,
|
||||||
32 * m_iconImage.GetWidth(),
|
4 * m_iconImage.GetWidth(),
|
||||||
SDL_PIXELFORMAT_BGRA8888
|
SDL_PIXELFORMAT_BGRA8888
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user