From 9eea5d1bc0b2aae69dbec419a71a9864b8c6af59 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 7 Oct 2024 15:58:37 -0400 Subject: [PATCH] sdlgpu: Fix compiler warning for hash functions --- mojoshader_sdlgpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mojoshader_sdlgpu.c b/mojoshader_sdlgpu.c index d976ca3..9978481 100644 --- a/mojoshader_sdlgpu.c +++ b/mojoshader_sdlgpu.c @@ -471,6 +471,7 @@ static inline uint64_t hash_vertex_shader( int vertexAttributeCount) { // TODO: Combine d3dbc hash with vertex attribute hash + return 0; } static inline uint64_t hash_pixel_shader( @@ -478,6 +479,7 @@ static inline uint64_t hash_pixel_shader( MOJOSHADER_sdlShaderData *pshader) { // TODO: Calculate hash of pshader d3dbc + return 0; } static inline ShaderBlob *fetch_blob_shader(