From 4d3f357f816eaff549617319a30db45dcc6bea75 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 23 Sep 2024 17:30:53 +0900 Subject: [PATCH] internal/graphicsdriver/playstation5: add Begin and End --- .../graphicsdriver/playstation5/graphics_playstation5.cpp | 4 ++++ internal/graphicsdriver/playstation5/graphics_playstation5.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/internal/graphicsdriver/playstation5/graphics_playstation5.cpp b/internal/graphicsdriver/playstation5/graphics_playstation5.cpp index dd1fee8e5..ab3524cf4 100644 --- a/internal/graphicsdriver/playstation5/graphics_playstation5.cpp +++ b/internal/graphicsdriver/playstation5/graphics_playstation5.cpp @@ -32,6 +32,10 @@ ebitengine_NewScreenFramebufferImage(int *image, int width, int height) { extern "C" void ebitengine_DisposeImage(int id) {} +extern "C" void ebitengine_Begin() {} + +extern "C" void ebitengine_End(int present) {} + extern "C" void ebitengine_SetVertices(float *vertices, int vertexCount, uint32_t *indices, int indexCount) {} diff --git a/internal/graphicsdriver/playstation5/graphics_playstation5.h b/internal/graphicsdriver/playstation5/graphics_playstation5.h index dd36eba53..12dcbc5b4 100644 --- a/internal/graphicsdriver/playstation5/graphics_playstation5.h +++ b/internal/graphicsdriver/playstation5/graphics_playstation5.h @@ -57,6 +57,8 @@ ebitengine_Error ebitengine_NewScreenFramebufferImage(int *image, int width, int height); void ebitengine_DisposeImage(int id); +void ebitengine_Begin(); +void ebitengine_End(int present); void ebitengine_SetVertices(float *vertices, int vertexCount, uint32_t *indices, int indexCount);