mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
🚑️ fix: forgot to include string.h
This commit is contained in:
parent
3814584a88
commit
d2cef9829b
@ -1,3 +1,4 @@
|
||||
// clang-format off
|
||||
/* stb_image - v2.30 - public domain image loader - http://nothings.org/stb
|
||||
no warranty implied; use at your own risk
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
|
||||
#include <SDL3/SDL_log.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#ifdef MINIWIN
|
||||
#include "miniwin/windows.h"
|
||||
#else
|
||||
@ -1143,7 +1144,7 @@ LPDIRECTDRAWSURFACE MxDisplaySurface::CreateCursorSurface(
|
||||
else {
|
||||
MxU32* surface = (MxU32*) ddsd.lpSurface;
|
||||
|
||||
std::memcpy(surface, p_cursorBitmap, p_x * p_y * sizeof(MxU32));
|
||||
memcpy(surface, p_cursorBitmap, p_x * p_y * sizeof(MxU32));
|
||||
|
||||
newSurface->Unlock(ddsd.lpSurface);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user