X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fgfxapi.cc;h=2987a59c12f129bcec8fc059ac1bcfb2353be0ec;hb=136a7fcbfabb2f0b0b3e340213e36a548715a370;hp=58692a3e5f7f86e6b9350b76b848331946295f97;hpb=697231b0832d626b328fc9ae4a5a5ef9a003aa1a;p=demo diff --git a/src/gfxapi.cc b/src/gfxapi.cc index 58692a3..2987a59 100644 --- a/src/gfxapi.cc +++ b/src/gfxapi.cc @@ -14,6 +14,8 @@ static Gfx_API api; void (*gfx_clear)(float r, float g, float b); void (*gfx_viewport)(int x, int y, int width, int height); +void (*gfx_zbuffer)(bool enable); +void (*gfx_cull_face)(Gfx_cull_face cf); bool gfx_init(Gfx_API api) @@ -100,5 +102,5 @@ char *gfx_get_shader_path() case GFX_VK: return (char *)"vk_shaders"; } - return (char*)""; + return (char *)""; } \ No newline at end of file