internal/graphicsdriver/playstation5: add extern C

This commit is contained in:
Hajime Hoshi 2024-09-01 20:08:52 +09:00
parent ca54ce69c4
commit 3eda0dd387

View File

@ -32,10 +32,10 @@ ebitengine_NewScreenFramebufferImage(int *image, int width, int height) {
extern "C" void ebitengine_DisposeImage(int id) {} extern "C" void ebitengine_DisposeImage(int id) {}
void ebitengine_SetVertices(float *vertices, int vertexCount, uint32_t *indices, extern "C" void ebitengine_SetVertices(float *vertices, int vertexCount,
int indexCount) {} uint32_t *indices, int indexCount) {}
ebitengine_Error extern "C" ebitengine_Error
ebitengine_DrawTriangles(int dst, int *srcs, int srcCount, int shader, ebitengine_DrawTriangles(int dst, int *srcs, int srcCount, int shader,
ebitengine_DstRegion *dstRegions, int dstRegionCount, ebitengine_DstRegion *dstRegions, int dstRegionCount,
int indexOffset, ebitengine_Blend blend, int indexOffset, ebitengine_Blend blend,