🚑️ fix: forgot to include string.h

This commit is contained in:
Helloyunho 2025-07-03 01:43:32 +09:00
parent 3814584a88
commit d2cef9829b
No known key found for this signature in database
GPG Key ID: 6AFA210B0150BE47
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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);