From: Eleni Maria Stea Date: Thu, 27 Jul 2017 06:49:04 +0000 (+0300) Subject: fixed warnings X-Git-Url: http://git.mutantstargoat.com?p=demo;a=commitdiff_plain;h=697231b0832d626b328fc9ae4a5a5ef9a003aa1a fixed warnings --- diff --git a/src/gfxapi.cc b/src/gfxapi.cc index d4464f1..58692a3 100644 --- a/src/gfxapi.cc +++ b/src/gfxapi.cc @@ -55,6 +55,7 @@ Mesh *gfx_create_mesh() case GFX_VK: return new MeshVK; } + return 0; } Texture *gfx_create_texture() { @@ -64,6 +65,7 @@ Texture *gfx_create_texture() case GFX_VK: return new TextureVK; } + return 0; } ShaderProgram *gfx_create_shader_program() @@ -75,6 +77,7 @@ ShaderProgram *gfx_create_shader_program() // return new ShaderProgramVK; return 0; } + return 0; } Shader *gfx_create_shader() @@ -86,6 +89,7 @@ Shader *gfx_create_shader() // return new ShaderVK; return 0; } + return 0; } char *gfx_get_shader_path() @@ -96,4 +100,5 @@ char *gfx_get_shader_path() case GFX_VK: return (char *)"vk_shaders"; } + return (char*)""; } \ No newline at end of file