From fab511e96b9c2be24355145ec05d5e79114fd1a1 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 17 Nov 2024 19:13:46 +0900 Subject: [PATCH] internal/graphicsdriver/playstation5: bug fix: compile error --- .../graphicsdriver/playstation5/graphics_playstation5.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/graphicsdriver/playstation5/graphics_playstation5.cpp b/internal/graphicsdriver/playstation5/graphics_playstation5.cpp index 166c66e3d..4dd0c1461 100644 --- a/internal/graphicsdriver/playstation5/graphics_playstation5.cpp +++ b/internal/graphicsdriver/playstation5/graphics_playstation5.cpp @@ -61,8 +61,10 @@ ebitengine_DrawTriangles(int dst, const int *srcs, int src_count, int shader, return {}; } -extern "C" ebitengine_Error -ebitengine_NewShader(int *shader, const ebitengine_PrecompiledShader *source) { +extern "C" ebitengine_Error ebitengine_NewShader( + int *shader, const char *vertex_header, int vertex_header_size, + const char *vertex_text, int vertex_text_size, const char *pixel_header, + int pixel_header_size, const char *pixel_text, int pixel_text_size) { return {}; }